]> Dogcows Code - chaz/openbox/commitdiff
fix the check for if a relative is focused on map
authorDana Jansens <danakj@orodu.net>
Thu, 6 Mar 2008 07:43:32 +0000 (02:43 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 6 Mar 2008 07:43:32 +0000 (02:43 -0500)
openbox/client.c

index f55af2b8a67ee31431bad8d01fac05b744c21f83..0bb1d11d8a2702bebcff8f8dd850640a7b55194b 100644 (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 */
This page took 0.031464 seconds and 4 git commands to generate.