fix the check for if a relative is focused on map

This commit is contained in:
Dana Jansens 2008-03-06 02:43:32 -05:00
parent 3606a4af6f
commit 07f5240d8c

View file

@ -500,8 +500,8 @@ void client_manage(Window window, ObPrompt *prompt)
parent_focused = (focus_client != NULL &&
client_search_focus_parent(self));
relative_focused = (focus_client != NULL &&
client_search_focus_tree_full(self) != NULL &&
client_search_focus_group_full(self) != NULL);
(client_search_focus_tree_full(self) != NULL ||
client_search_focus_group_full(self) != NULL));
/* This is focus stealing prevention */