>
> don't apply that patch I just submitted. Somehow it causes fvwm to
> seg fault for me....when I am in an environment where I can run
> gdb on the window manager, I will try to see why it does...unless
> someone on the list wants to point out the obvious mistake I
> should be seeing..
I'm not sure why it it seg faulting, but I think I see the reason that
the color is/was not working.
> backcolor = nptr->BackColor = backcolor;
This is the same as:
nptr->BackColor = backcolor;
backcolor=backcolor;
The net affect is that the background color does not change to the new style.
It should also have the affect of changing the color of the original window.
Just a momemt, let me check...
Well, almost. The affect is that both windows end up with a grey background
color. That certainly answers that! Now, lets see if changing it to
backcolor = nptr->BackColor;
works...
Yup, that fixes it!
The patch to fix it follows.
Dan Niles
--------------------------------------------------------------------------
--- style.c.orig Wed May 8 09:46:27 1996
+++ style.c Wed May 8 09:44:01 1996
_at_@ -566,7 +566,7 @@
bw = nptr->border_width;
nobw = nptr->resize_width;
forecolor = nptr->ForeColor;
- backcolor = nptr->BackColor = backcolor;
+ backcolor = nptr->BackColor;
BoxFillMethod = nptr->BoxFillMethod;
IconBox[0] = nptr->IconBox[0];
IconBox[1] = nptr->IconBox[1];
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed May 08 1996 - 09:44:31 BST