Subject: FVWM: Re: fvwm 2.0.46 ready at last...

From: Heinz Ulrich Stille <[email-masked]>
Date: Sat, 23 Aug 1997 20:57:23 +0200 (MET DST)

Hi!

It's nice that FvwmTaskBar is included in the new version, but it needs
two changes:

diff -BbNru fvwm-2.0.46/extras/FvwmTaskBar/FvwmTaskBar.c fvwm-2.0.46-p/extras/FvwmTaskBar/FvwmTaskBar.c
--- fvwm-2.0.46/extras/FvwmTaskBar/FvwmTaskBar.c	Sat Aug 23 20:39:00 1997
+++ fvwm-2.0.46-p/extras/FvwmTaskBar/FvwmTaskBar.c	Sat Aug 23 20:41:00 1997
@@ -367,8 +366,13 @@
   case M_MINI_ICON:
     if ((i = FindItem(&windows, body[0])) == -1) break;
     if (UpdateButton(&buttons, i, NULL, DONT_CARE) != -1) {
+#if 0
       p.picture = body[1];
       p.mask    = body[2];
+#else
+      p.picture = body[6];
+      p.mask    = body[7];
+#endif
       p.width   = body[3];
       p.height  = body[4];
       p.depth   = body[5];
@@ -1445,8 +1449,11 @@
 void PurgeConfigEvents(void) {
   XEvent Event;
 
+  if (XPending(dpy))
+  {
       XPeekEvent(dpy, &Event);
       while (XCheckTypedWindowEvent(dpy, win, ConfigureNotify, &Event));
+  }
 }
 
 /************************************************************************

MfG,
	Ulrich

---
"I, er... That is -" YOU FEAR TO DIE? "It's not that I don't want... I mean,
I've always...  It's just that life is a habit that's hard to break..."
                                                T. Pratchett, "Reaper Man"

--
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 [email-masked].
To report problems, send mail to [email-masked].