1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

- removed configure.in. use only autoconf 2.5x fom now

- fixed a bug and memleak in WMBox code.
- updated some translations
- fixed some bug in the menu code about drawing disabled entries.
- fixed Clip menu not to allow selecting of "Autoraise" if "Keep On Top"
  is active.
- Added a "Browse" button to the menu editor in WPrefs where a program to run
  is specified (not finished).
This commit is contained in:
dan
2002-02-20 22:22:40 +00:00
parent 9466c00f2b
commit 77b8fe05ac
14 changed files with 1311 additions and 2062 deletions

View File

@@ -820,10 +820,19 @@ paintEntry(WMenu *menu, int index, int selected)
ih = indicator->height;
XSetClipMask(dpy, scr->copy_gc, indicator->mask);
XSetClipOrigin(dpy, scr->copy_gc, 5, y+(h-ih)/2);
if (selected)
XSetForeground(dpy, scr->copy_gc, scr->black_pixel);
else
XSetForeground(dpy, scr->copy_gc, scr->mtext_pixel);
if (selected) {
if (entry->flags.enabled) {
XSetForeground(dpy, scr->copy_gc, scr->black_pixel);
} else {
XSetForeground(dpy, scr->copy_gc, scr->dtext_pixel);
}
} else {
if (entry->flags.enabled) {
XSetForeground(dpy, scr->copy_gc, scr->mtext_pixel);
} else {
XSetForeground(dpy, scr->copy_gc, scr->dtext_pixel);
}
}
XFillRectangle(dpy, win, scr->copy_gc, 5, y+(h-ih)/2, iw, ih);
/*
XCopyArea(dpy, indicator->image, win, scr->copy_gc, 0, 0,