From 8dfa16abaed94350a901dea0969752d0692753fe Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 19 Apr 2003 21:11:04 +0000 Subject: [PATCH] i lied.. fuck @ those gnome dialogs --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2