From d974e00bc90db03fc1af45e110b6927e0f42e7fa Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 17 Oct 2002 01:45:30 +0000 Subject: [PATCH] fixed the drop shadow window clearing bug in Basemenu --- src/Basemenu.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Basemenu.cc b/src/Basemenu.cc index 25a941cb..cd3dbe7f 100644 --- 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) -- 2.44.0