summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-19 01:01:57 +0000
committerDana Jansens <danakj@orodu.net>2003-03-19 01:01:57 +0000
commit51b93d9c4ce080f337fce7175a43d0de269dec81 (patch)
tree0d51b0d56b99e88bbf0fe4b9a086f36566bd1f11 /openbox/openbox.c
parent33a6fde970f29c8aeb4237cbf467d01ab4bcd73e (diff)
reset focus to root before exiting
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index fd4973da..c9d88279 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -167,7 +167,9 @@ int main(int argc, char **argv)
render_shutdown();
timer_shutdown();
}
-
+
+ /* reset focus to root before exiting */
+ XSetInputFocus(ob_display, PointerRoot, RevertToNone, CurrentTime);
XCloseDisplay(ob_display);
dispatch_shutdown();