From: Dana Jansens Date: Wed, 19 Mar 2003 01:01:57 +0000 (+0000) Subject: reset focus to root before exiting X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=51b93d9c4ce080f337fce7175a43d0de269dec81;p=chaz%2Fopenbox reset focus to root before exiting --- 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();