From 8552ba2ac95cf489c404df0175d4eac9cf23c3a7 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 17 Oct 2002 02:37:23 +0000 Subject: [PATCH] xft drawing on offsets once and for all --- src/Basemenu.cc | 5 +---- 1 file changed, 1 insertion(+), 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)) { -- 2.39.2