don't work at all for high-ascii letters, which are
used in the non-english locales.
- * Fix menu redraw bug when dragging them off-screen or (Scott Moynes)
- under other menus, with Xft fonts.
+ * Fix menu redraw bug when dragging them off-screen or (Scott Moynes,
+ under other menus, with Xft fonts. Ben Jansens)
* Build fixes for xftlsfonts and for openbox on (Marius Nita)
redhat systems.
dooppsel = False;
}
-#ifdef XFT
- if (dotext)
- 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)
XCopyArea(display, menu.hilite_pixmap, menu.frame,
for (int ii = id; ii <= id_d && it != end; ++it, ii++) {
const int index = ii + (i * menu.persub);
// redraw the item
- drawItem(index, (which_sub == index), False,
- ee->x, ee->y, ee->width, ee->height);
+ drawItem(index, (which_sub == index),
+#ifdef XFT
+ True);
+#else
+ False, ee->x, ee->y, ee->width, ee->height);
+#endif // XFT
}
}
}