1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-03 14:55:46 +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

@@ -1056,6 +1056,7 @@ updateClipOptionsMenu(WMenu *menu, WDock *dock)
entry = menu->entries[++index];
entry->flags.indicator_on = dock->auto_raise_lower;
entry->clientdata = dock;
wMenuSetEnabled(menu, index, dock->lowered);
/* attract icons */
entry = menu->entries[++index];

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,