projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf6cfa
)
fixed the drop shadow window clearing bug in Basemenu
author
Scott Moynes
<smoynes@nexus.carleton.ca>
Thu, 17 Oct 2002 01:45:30 +0000
(
01:45
+0000)
committer
Scott Moynes
<smoynes@nexus.carleton.ca>
Thu, 17 Oct 2002 01:45:30 +0000
(
01:45
+0000)
src/Basemenu.cc
patch
|
blob
|
history
diff --git
a/src/Basemenu.cc
b/src/Basemenu.cc
index
25a941c
..
cd3dbe7
100644
(file)
--- 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)