From 44f636e91e968030892359cc3abe4e524c320e43 Mon Sep 17 00:00:00 2001 From: dan Date: Sat, 2 Aug 2003 21:36:45 +0000 Subject: [PATCH] doc update; don't use clip's inactive collors for arrows when collapsed --- ChangeLog | 4 ++++ WINGs/ChangeLog | 1 + WINGs/Tests/wtest.c | 3 ++- doc/wmsetbg.1x | 8 ++++++++ src/dock.c | 11 ++++++----- 5 files changed, 21 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7eef9a06..8058ded2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -106,6 +106,10 @@ Changes since version 0.80.2: maximizing to support succesive maximizations in different directions without the need to do an intermediary un-maximize step (eliminates flicker) - Made keyboard/mouse maximization behavior consinstent relative to each other +- Enhanced wmsetbg's man page with description for -b | --back-color + (Marcelo E. Magallon ) +- Do not use the disabled clip color for the clip's workspace navigation arrows + when the clip is collapsed (it made them look like disabled) Changes since version 0.80.1: diff --git a/WINGs/ChangeLog b/WINGs/ChangeLog index ee91141b..f13e2053 100644 --- a/WINGs/ChangeLog +++ b/WINGs/ChangeLog @@ -64,6 +64,7 @@ Changes since wmaker 0.80.1: ) - Fixed bug in resizing a scrollview - Fixed bug with wrong text wrapping (Alexey Voinov ) +- Added wmkrect() Changes since wmaker 0.80.0: diff --git a/WINGs/Tests/wtest.c b/WINGs/Tests/wtest.c index 871081a9..fef03102 100644 --- a/WINGs/Tests/wtest.c +++ b/WINGs/Tests/wtest.c @@ -10,8 +10,9 @@ /* * You need to define this function to link any program to WINGs. + * (this is no longer required as there is a default abort handler in WINGs) * This will be called when the application will be terminated because - * on a fatal error. + * of a fatal error (only for memory allocation failures ATM). */ void wAbort() diff --git a/doc/wmsetbg.1x b/doc/wmsetbg.1x index 5fea4380..c5ecbfb2 100644 --- a/doc/wmsetbg.1x +++ b/doc/wmsetbg.1x @@ -22,6 +22,14 @@ window image on start up. .B -a|--maxscale scales the specified \fIimage\fP preserving its aspect ratio .TP +.B -b|--back-color +the specified \fIcolor\fP is used as the background color for the +\fItexture\fP. Window Maker temporarely sets the background to this +color while loading and processing the texture. You can specify colors +using their X11 names or as an RGB tiplet (either as "rgb:RR/GG/BB" or +"#RRGGBB") (reference to appropiate manpage should be here). In the +later case \fIcolor\fB is a quoted string. +.TP .B -e|--center centers the specified \fIimage\fP .TP diff --git a/src/dock.c b/src/dock.c index f44ea5ad..daed30d2 100644 --- a/src/dock.c +++ b/src/dock.c @@ -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)); -- 2.11.4.GIT