i lied.. fuck @ those gnome dialogs

This commit is contained in:
Dana Jansens 2003-04-19 21:11:04 +00:00
parent ccb8cd61ac
commit 8dfa16abae

View file

@ -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);