diff options
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 42241224..40e18872 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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 |
