]> Dogcows Code - chaz/openbox/commitdiff
xft drawing on offsets once and for all
authorScott Moynes <smoynes@nexus.carleton.ca>
Thu, 17 Oct 2002 02:37:23 +0000 (02:37 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Thu, 17 Oct 2002 02:37:23 +0000 (02:37 +0000)
src/Basemenu.cc

index cd3dbe7f0b2d6c4e17d7243c8432a2e7e58bf442..3c096eff59f4423b96f4aefd327e3e38dad6df00 100644 (file)
@@ -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)) {
This page took 0.022035 seconds and 4 git commands to generate.