X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FBasemenu.cc;h=3c096eff59f4423b96f4aefd327e3e38dad6df00;hb=87e63d53af67d5ea98f55a27007663d4c9c8fc6c;hp=25a941cb7584468f4fb217b48dfdaf198d904476;hpb=ccf6cfadf7917be62eda6b5613feca59ddc66a0f;p=chaz%2Fopenbox diff --git a/src/Basemenu.cc b/src/Basemenu.cc index 25a941cb..3c096eff 100644 --- a/src/Basemenu.cc +++ b/src/Basemenu.cc @@ -611,9 +611,10 @@ 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, - False); + XClearArea(display, menu.frame, text_x, text_y , text_w, text_h, False); +#endif // XFT if (dohilite && highlight && (menu.hilite_pixmap != ParentRelative)) { if (menu.hilite_pixmap)