]> Dogcows Code - chaz/openbox/commitdiff
dont try change focus while looping thru the focus list
authorDana Jansens <danakj@orodu.net>
Wed, 4 Jun 2003 17:17:55 +0000 (17:17 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 4 Jun 2003 17:17:55 +0000 (17:17 +0000)
openbox/focus.c

index 5909ca773449ece98bee8e3043e222739740ef42..68b208cedde1d52f03bdaff8f3e531a4f9b1b241 100644 (file)
@@ -229,8 +229,11 @@ void focus_fallback(FallbackType type)
                    checks for this is in transient/group fallbacks, so they can
                    be fallback targets there. */
                 !((Client*)it->data)->fullscreen &&
-                client_focus(it->data))
+                client_can_focus(it->data)) {
+                gboolean r = client_focus(sit->data);
+                assert(r);
                 return;
+            }
 
     /* nothing to focus */
     focus_set_client(NULL);
This page took 0.026822 seconds and 4 git commands to generate.