]> Dogcows Code - chaz/openbox/commitdiff
allow alt-tab etc to move focus to skip_taskbar windows when they are iconic
authorDana Jansens <danakj@orodu.net>
Fri, 8 Jan 2010 19:34:22 +0000 (14:34 -0500)
committerDana Jansens <danakj@orodu.net>
Fri, 8 Jan 2010 19:34:22 +0000 (14:34 -0500)
openbox/focus.c

index a75c170f649e72bf62c07456e603742e976e1229..7312974909d6ca2953d98ae0169c323122f79523 100644 (file)
@@ -328,9 +328,10 @@ gboolean focus_valid_target(ObClient *ft,
 
     /* it's not set to skip the taskbar (but this only applies to normal typed
        windows, and is overridden if the window is modal or if the user asked
-       for this window to be focused) */
+       for this window to be focused, or if the window is iconified) */
     ok = ok && (ft->type != OB_CLIENT_TYPE_NORMAL ||
                 ft->modal ||
+                ft->iconic ||
                 user_request ||
                 !ft->skip_taskbar);
 
This page took 0.033699 seconds and 4 git commands to generate.