]> Dogcows Code - chaz/openbox/commitdiff
allow focus fallbacks to fullscreen windows
authorDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 18:19:35 +0000 (18:19 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 18:19:35 +0000 (18:19 +0000)
openbox/focus.c

index eac0dce1ce6435cf7bc41cb53977446fc08db950..dd83061f2dd83feb0002a1f4d67661c2ae635daa 100644 (file)
@@ -221,12 +221,7 @@ void focus_fallback(ObFocusFallbackType type)
 
     for (it = focus_order[screen_desktop]; it != NULL; it = it->next)
         if (type != OB_FOCUS_FALLBACK_UNFOCUSING || it->data != old)
-            if (client_normal(it->data) &&
-                /* dont fall back to 'anonymous' fullscreen windows. theres no
-                   checks for this is in transient/group fallbacks, so they can
-                   be fallback targets there. */
-                !((ObClient*)it->data)->fullscreen &&
-                client_can_focus(it->data)) {
+            if (client_normal(it->data) && client_can_focus(it->data)) {
                 gboolean r = client_focus(it->data);
                 assert(r);
                 return;
This page took 0.028958 seconds and 4 git commands to generate.