summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-04 20:31:33 +0000
committerDana Jansens <danakj@orodu.net>2007-06-04 20:31:33 +0000
commit62d9a341381729a02ee174f25f197b22499e189f (patch)
treeda85c75be6a76d912414db2c8ba9d9f91fc8ecf4 /openbox
parent0fb1d4d5079d96c857990b27f1d005568817c0f9 (diff)
don't change the focus order when a client tries to focus but is not visible. client_activate will -make- it visible anyways.
fixes focus fallback's loop totally breaking (stopping on 32bit and looping forever on 64bit) when it encountered a non-visible window
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c
index daa65379..fa67e367 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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;