summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index c9d88279..9f90a9e0 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -160,6 +160,7 @@ int main(int argc, char **argv)
plugin_shutdown(); /* calls all the plugins' shutdown functions */
grab_shutdown();
client_shutdown();
+ focus_shutdown();
screen_shutdown();
event_shutdown();
engine_shutdown();
@@ -168,8 +169,6 @@ int main(int argc, char **argv)
timer_shutdown();
}
- /* reset focus to root before exiting */
- XSetInputFocus(ob_display, PointerRoot, RevertToNone, CurrentTime);
XCloseDisplay(ob_display);
dispatch_shutdown();