[Xfce-bugs] [XFCE 0000163]: Make xfwm alt-tab skip over panels

xfce-bugs at xfce.org xfce-bugs at xfce.org
Tue Mar 30 21:13:34 CEST 2004


The following bug has been RESOLVED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=163
=======================================================================
Reporter:                   huggie
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000163
Category:                   xfwm
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
=======================================================================
Date Submitted:             2004-03-29 21:24 GMT
Last Modified:              2004-03-30 19:13 GMT
=======================================================================
Summary:                    Make xfwm alt-tab skip over panels
Description: 
This is a Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=226750

If you run xfwm4 as your window manager but use the gnome-panel (don't ask
me why... ;)) when you alt-tab you can alt-tab to the panel which is
useless.

The patch to remove this behaviour (against 4.0.2) is apparently:
--- old/xfwm4-4.0.2/src/client.c
+++ xfwm4-4.0.2/src/client.c
@@ -3563,7 +3563,8 @@
             c2 = c2->next, i++)
         {
             if ((c2->type == WINDOW_SPLASHSCREEN)
-                || (c2->type == WINDOW_DESKTOP))
+                || (c2->type == WINDOW_DESKTOP)
+                || (c2->type == WINDOW_DOCK))	/* these 3 are the same as
WINDOW_TYPE_DONT_PLACE */
             {
                 continue;
             }


Hopefully that's enough of an idea for you to give your verdict on this.
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-03-30 19:13 GMT 
-----------------------------------------------------------------------
A similar patch is already in CVS xfce_4_0 (upcoming 4.0.5) and HEAD:

            if (c2->type & (WINDOW_SPLASHSCREEN | WINDOW_DOCK |
WINDOW_DESKTOP))
            {
                continue;
            }

Thanks, btw, for your contribution.
Olivier.



More information about the Xfce-bugs mailing list