From 51b93d9c4ce080f337fce7175a43d0de269dec81 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 19 Mar 2003 01:01:57 +0000 Subject: [PATCH] reset focus to root before exiting --- openbox/openbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.45.2