Subject: 2.1.5 FvwmWinList Patch

From: Nadim Saeed <[email-masked]>
Date: Tue, 15 Dec 1998 10:29:01 -0800 (XXX)

With the latest changes to WinList, it no longer redraws after one creates or
deletes a window (to recreate: goto a clean page without any xterms, spawn a
new xterm and watch FvwmWinList - make sure NOT to enter the xterm (ie. don't
give it focus; I use autofocus) or easier yet, kill the window and watch
WinList).  The following patch fixes that bug.

BTW: Here are my relevant .fvwm2rc entries

##############
# FvwmWinList
#
#*FvwmWinListFocusPressed
*FvwmWinListBack Gray59
*FvwmWinListFore Yellow
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1, Raise, Focus, WarpToWindow 50 50
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Iconify -1, move
*FvwmWinListUseSkipList
*FvwmWinListGeometry +0+0
*FvwmWinListFocusFore Aquamarine
*FvwmWinListDontDepressFocus

 - Nadim (I'm not subscribed to the list)

$ diff -c FvwmWinList.c.orig FvwmWinList.c
*** FvwmWinList.c.orig  Tue Dec 15 09:38:22 1998
--- FvwmWinList.c       Tue Dec 15 10:10:46 1998
***************
*** 362,372 ****
        flags=ItemFlags(&windows,body[0]);
        UpdateItemFlags(&windows,body[0],flags);
        RadioButton(&buttons,i);
-       redraw = 1;
      }
      break;
- 
-       break;
      case M_END_WINDOWLIST:
        if (!WindowIsUp) MakeMeWindow();
        redraw=1;
--- 362,370 ----
        flags=ItemFlags(&windows,body[0]);
        UpdateItemFlags(&windows,body[0],flags);
        RadioButton(&buttons,i);
      }
+     redraw = 1;
      break;
      case M_END_WINDOWLIST:
        if (!WindowIsUp) MakeMeWindow();
        redraw=1;
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked].