projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d974e00
)
xft drawing on offsets once and for all
author
Scott Moynes
<smoynes@nexus.carleton.ca>
Thu, 17 Oct 2002 02:37:23 +0000
(
02:37
+0000)
committer
Scott Moynes
<smoynes@nexus.carleton.ca>
Thu, 17 Oct 2002 02:37:23 +0000
(
02:37
+0000)
src/Basemenu.cc
patch
|
blob
|
history
diff --git
a/src/Basemenu.cc
b/src/Basemenu.cc
index
cd3dbe7
..
3c096ef
100644
(file)
--- a/
src/Basemenu.cc
+++ b/
src/Basemenu.cc
@@
-613,10
+613,7
@@
void Basemenu::drawItem(int index, bool highlight, bool clear,
#ifdef XFT
if (dotext)
- XClearArea(display, menu.frame, text_x, text_y ,
- text_w + style->f_font->offset(),
- text_h + style->f_font->offset(),
- False);
+ XClearArea(display, menu.frame, text_x, text_y , text_w, text_h, False);
#endif // XFT
if (dohilite && highlight && (menu.hilite_pixmap != ParentRelative)) {