On Thu, Dec 28, 2006 at 03:03:59PM +0100, David Reveman wrote:
> On Wed, 2006-12-27 at 23:56 +0000, Mike Dransfield wrote:
> > Also it would be nice if the option to remove the
> > switcher window could be applied.
> 
> done.

That option is nice, but it doesn't make much sense in the "all windows"
switcher mode because you can't tell which window you're going to switch to.

A quick fix is attached.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]
diff --git a/plugins/switcher.c b/plugins/switcher.c
index a919e58..4a23491 100644
--- a/plugins/switcher.c
+++ b/plugins/switcher.c
@@ -755,7 +755,7 @@ switchInitiate (CompScreen *s,
 
     showWindowList = ss->opt[SWITCH_SCREEN_OPTION_SHOW_WINDOW_LIST].value.b;
 
-    if (showWindowList && !ss->popupWindow)
+    if ((showWindowList || ss->allWindows) && !ss->popupWindow)
     {
 	Display		     *dpy = s->display->display;
 	XSizeHints	     xsh;
@@ -841,7 +841,7 @@ switchInitiate (CompScreen *s,
 
 	    ss->sTranslate = ss->zoom;
 
-	    if (showWindowList && ss->popupWindow)
+	    if ((showWindowList || ss->allWindows) && ss->popupWindow)
 	    {
 		CompWindow *w;
 
@@ -857,7 +857,7 @@ switchInitiate (CompScreen *s,
 		}
 	    }
 
-	    if (showWindowList)
+	    if (showWindowList || ss->allWindows)
 		setSelectedWindowHint (s);
 	}
 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to