summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-19 21:11:04 +0000
committerDana Jansens <danakj@orodu.net>2003-04-19 21:11:04 +0000
commit8dfa16abaed94350a901dea0969752d0692753fe (patch)
treeba400fe18a108caeae0cd29bc7d5f5974188f22c /openbox
parentccb8cd61ac436d30102af024854199058bd5e147 (diff)
i lied.. fuck @ those gnome dialogs
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index a9f32044..a473fdb1 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -258,7 +258,7 @@ void client_manage(Window window)
/* note the check against Type_Normal, not client_normal(self), which
would also include dialog types. in this case we want more strict
rules for focus */
- if ((config_focus_new && client_normal(self)) ||
+ if ((config_focus_new && self->type == Type_Normal) ||
(parent && (client_focused(parent) ||
search_focus_tree(parent, parent)))) {
client_focus(self);