summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Basemenu.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index cd3dbe7f..3c096eff 100644
--- 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)) {