]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
some focus changes...
[chaz/openbox] / openbox / focus.c
index 42241224534e35fc07f021b0c4f86d4d0d1705c3..40e18872f6adc0189113c5bee72d94dc970fe0e7 100644 (file)
@@ -186,12 +186,8 @@ void focus_nothing()
         screen_install_colormap(NULL, TRUE);
     }
 
-    /* Don't set focus_client to NULL here. It will be set to NULL when the
-       FocusOut event comes. Otherwise, if we focus nothing and then focus the
-       same window again, The focus code says nothing changed, but focus_client
-       ends up being NULL anyways.
-    focus_client = NULL;
-    */
+    /* nothing is focused, update the colormap and _the root property_ */
+    focus_set_client(NULL);
 
     /* if there is a grab going on, then we need to cancel it. if we move
        focus during the grab, applications will get NotifyWhileGrabbed events
This page took 0.022204 seconds and 4 git commands to generate.