]> Dogcows Code - chaz/openbox/commitdiff
reset focus to root before exiting
authorDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 01:01:57 +0000 (01:01 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 01:01:57 +0000 (01:01 +0000)
openbox/openbox.c

index fd4973da4514dbb17a6245a10d6a142a4f3a91b6..c9d882790a96276aa24cf5e98133a128a2fe5418 100644 (file)
@@ -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();
This page took 0.02523 seconds and 4 git commands to generate.