X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=9f90a9e01e729e7a2a1d2e149c75ac2819ae5946;hb=648c55b829e09c66222a9bbf08d10434622feae2;hp=c9d882790a96276aa24cf5e98133a128a2fe5418;hpb=597fad9d8d5b7be27cabeeec750ed15f86377a07;p=chaz%2Fopenbox 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();