diff --git a/openbox/client.c b/openbox/client.c index f55af2b8..0bb1d11d 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 */