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

From: Heinz Ulrich Stille <ulrich_at_gaston.westfalen.de>
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
_at_@ -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];
_at_@ -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 majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sun Aug 24 1997 - 11:59:05 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST