1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

doc update; don't use clip's inactive collors for arrows when collapsed

This commit is contained in:
dan
2003-08-02 21:36:45 +00:00
parent 8457611316
commit 44f636e91e
5 changed files with 21 additions and 6 deletions

View File

@@ -266,7 +266,7 @@ killCallback(WMenu *menu, WMenuEntry *entry)
if (icon->icon && icon->icon->owner) {
fPtr = icon->icon->owner->fake_group;
} else {
/* is this really necessary? can we kill a dock icon not running? */
/* is this really necessary? can we kill a non-running dock icon? */
Window win = icon->main_window;
int index;
@@ -356,10 +356,11 @@ paintClipButtons(WAppIcon *clipIcon, Bool lpushed, Bool rpushed)
Bool collapsed = clipIcon->dock->collapsed;
#endif
if (!clipIcon->dock->collapsed)
color = scr->clip_title_color[CLIP_NORMAL];
else
color = scr->clip_title_color[CLIP_COLLAPSED];
//if (!clipIcon->dock->collapsed)
// color = scr->clip_title_color[CLIP_NORMAL];
//else
// color = scr->clip_title_color[CLIP_COLLAPSED];
color = scr->clip_title_color[CLIP_NORMAL];
XSetForeground(dpy, gc, WMColorPixel(color));