Re: Active Desk Label

2002-09-18 Thread Olivier Chapuis
On Wed, Sep 18, 2002 at 02:35:44AM -0400, Suzanne Skinner wrote:
> The active desk label in the pager is not being hilighted properly at startup
> (unless Xft is used?). I think this bug was introduced via the change "Use
> clipping redrawing for the desk label" to DrawGrid(), as the hilight
> background is never initially drawn.
> 
> The attached patch fixes the problem but it's probably overkill :-)
> 

No, no it is ok, applied.
Thanks, Olivier
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


CVS olicha: * Fixed active desk label in the pager (Suzanne Skinner)

2002-09-18 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: olicha  02/09/18 08:56:51

Modified files:
modules: ChangeLog 
modules/FvwmPager: x_pager.c 

Log message:
* Fixed active desk label in the pager (Suzanne Skinner)

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Active Desk Label

2002-09-18 Thread Suzanne Skinner
The active desk label in the pager is not being hilighted properly at startup
(unless Xft is used?). I think this bug was introduced via the change "Use
clipping redrawing for the desk label" to DrawGrid(), as the hilight
background is never initially drawn.

The attached patch fixes the problem but it's probably overkill :-)

Suzanne

-- 
[EMAIL PROTECTED] - http://www.igs.net/~tril/
--- x_pager.c.orig  Wed Sep 18 01:40:57 2002
+++ x_pager.c   Wed Sep 18 01:41:56 2002
@@ -1663,7 +1663,7 @@
}
if(((Scr.CurrentDesk - desk1) == desk) && !ShapeLabels)
{
-   if (uselabel && erase)
+   if (uselabel)
{
XFillRectangle(
dpy,Desks[desk].title_w,Desks[desk].HiliteGC,