fixed the drop shadow window clearing bug in Basemenu
This commit is contained in:
parent
ccf6cfadf7
commit
d974e00bc9
1 changed files with 5 additions and 1 deletions
|
@ -611,9 +611,13 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
|
||||||
dooppsel = False;
|
dooppsel = False;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef XFT
|
||||||
if (dotext)
|
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);
|
False);
|
||||||
|
#endif // XFT
|
||||||
|
|
||||||
if (dohilite && highlight && (menu.hilite_pixmap != ParentRelative)) {
|
if (dohilite && highlight && (menu.hilite_pixmap != ParentRelative)) {
|
||||||
if (menu.hilite_pixmap)
|
if (menu.hilite_pixmap)
|
||||||
|
|
Loading…
Reference in a new issue