From: Dana Jansens Date: Thu, 6 Mar 2008 07:43:32 +0000 (-0500) Subject: fix the check for if a relative is focused on map X-Git-Tag: backport~176 X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=commitdiff_plain;h=07f5240d8c6d4fc6d70d396c4205a42f87ee7a95 fix the check for if a relative is focused on map --- diff --git a/openbox/client.c b/openbox/client.c index f55af2b..0bb1d11 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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 */