On Thu, 17 Feb 2011 at 15:54:52 -0200, Haroldo Santos wrote:
> On Thu, Feb 17, 2011 at 3:40 PM, Carlos R. Mafra <[email protected]> wrote:

> > Would you mind sending a patch for that too (in case you agree)?
> >
> I included also the second fix in the patch now.

Thanks. 

diff --git a/src/switchpanel.c b/src/switchpanel.c
index 38a8029..1c81c37 100644
--- a/src/switchpanel.c
+++ b/src/switchpanel.c
@@ -392,7 +392,9 @@ static WMArray *makeWindowListArray(WWindow *curwin, int 
include_unmapped, Bool
                                    if (strcmp(wwin->wm_class, 
curwin->wm_class))
                                        continue;
                                }
-                               WMAddToArray(windows, wwin);
+
+                               if (!WFLAGP(wwin, skip_switchpanel))
+               WMAddToArray(windows, wwin);
                        }
                }
                wwin = curwin;

I think you forgot to add this check also a bit below in the loop (there are
two loops to populate the list).

I can fix that here, if you wish.


-- 
To unsubscribe, send mail to [email protected].

Reply via email to