]> Dogcows Code - chaz/openbox/commitdiff
check for client_normal before focusing
authorDana Jansens <danakj@orodu.net>
Fri, 18 Apr 2003 06:55:51 +0000 (06:55 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 18 Apr 2003 06:55:51 +0000 (06:55 +0000)
openbox/focus.c

index f7f36e7778863d9c7de87f7eb433ace5b77334e3..6c275a845bfbc0e277fe458dd42c42d557f56b09 100644 (file)
@@ -196,7 +196,8 @@ void focus_fallback(FallbackType type)
             for (it = focus_order[screen_desktop]; it != NULL; it = it->next)
                 for (sit = old->group->members; sit; sit = sit->next)
                     if (sit->data == it->data)
-                        if (sit->data != old && client_focus(sit->data))
+                        if (sit->data != old && client_normal(sit->data) &&
+                            client_focus(sit->data))
                             return;
         }
     }
This page took 0.023156 seconds and 4 git commands to generate.