Subject: Patch - FvwmTaskBar Problem with StickyIcons when switching to another desk

From: Uwe Pross <[email-masked]>
Date: Tue, 30 Apr 2002 21:34:34 +0200

Hi,

Here is a very small patch which fixes the  problem  with  FvwmTaskBar
and  StickIcon  style.  It  seems  that  the StickyIcon style has been
completly ignored by FvwmTaskBar. 
I patched it against version 2.5.1 - hope the file  FvwmTaskBar.c  has
not been changed since then. If so maybe one of you guys can apply the
changes by hand. It is only one line in FvwmTaskBar.c.

Uwe     
-- 
+----------------------------------------------
| Uwe Pross
| mail : mailto:[email-masked]
| www  : http://www.tu-chemnitz.de/~uwp
+----------------------------------------------

Have a nice day ;-).

-----------------------------------------------
--- FvwmTaskBar.c.orig	Tue Apr 30 21:21:50 2002
+++ FvwmTaskBar.c	Tue Apr 30 21:19:42 2002
@@ -886,7 +886,8 @@
 
   for (item=windows.head; item; item=item->next)
   {
-    if ((DeskNumber == item->Desk || IS_STICKY(item)) &&
+    if ((DeskNumber == item->Desk || IS_STICKY(item) || 
+	 (IS_ICONIFIED(item) && IS_ICON_STICKY(item))) &&
 	(!DO_SKIP_WINDOW_LIST(item) || !UseSkipList))
     {
       AddButton(&buttons, item->name, &(item->p), BUTTON_UP, item->count,