]> Dogcows Code - chaz/openbox/commitdiff
don't change the focus order when a client tries to focus but is not visible. client_...
authorDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 20:31:33 +0000 (20:31 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 20:31:33 +0000 (20:31 +0000)
fixes focus fallback's loop totally breaking (stopping on 32bit and looping forever on 64bit) when it encountered a non-visible window

openbox/client.c

index daa65379f3d50e4201a60c7ea0f91976c3ed7126..fa67e367f14aa419bf6cec47a55b9b5f28231a36 100644 (file)
@@ -3519,10 +3519,6 @@ gboolean client_focus(ObClient *self)
     self = client_focus_target(self);
 
     if (!client_can_focus(self)) {
-        if (!self->frame->visible) {
-            /* update the focus lists */
-            focus_order_to_top(self);
-        }
         ob_debug_type(OB_DEBUG_FOCUS,
                       "Client %s can't be focused\n", self->title);
         return FALSE;
This page took 0.029616 seconds and 4 git commands to generate.