summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-10-17 01:45:30 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-10-17 01:45:30 +0000
commitd974e00bc90db03fc1af45e110b6927e0f42e7fa (patch)
treeac7a6a7c2661141b781a1605cb7fb68aa58af3c5
parentccf6cfadf7917be62eda6b5613feca59ddc66a0f (diff)
fixed the drop shadow window clearing bug in Basemenu
-rw-r--r--src/Basemenu.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index 25a941cb..cd3dbe7f 100644
--- a/src/Basemenu.cc
+++ b/src/Basemenu.cc
@@ -611,9 +611,13 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
dooppsel = False;
}
+#ifdef XFT
if (dotext)
- XClearArea(display, menu.frame, text_x, text_y, text_w, text_h,
+ XClearArea(display, menu.frame, text_x, text_y ,
+ text_w + style->f_font->offset(),
+ text_h + style->f_font->offset(),
False);
+#endif // XFT
if (dohilite && highlight && (menu.hilite_pixmap != ParentRelative)) {
if (menu.hilite_pixmap)