shutdown everything before closing the display
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
4 deletions(-)
jump to
M
openbox/openbox.c
→
openbox/openbox.c
@@ -150,9 +150,8 @@ /* get all the existing windows */
client_manage_all(); ob_state = State_Running; - while (!ob_shutdown) { + while (!ob_shutdown) event_loop(); - } ob_state = State_Exiting; client_unmanage_all();@@ -169,9 +168,9 @@ render_shutdown();
timer_shutdown(); } - XCloseDisplay(ob_display); - dispatch_shutdown(); + + XCloseDisplay(ob_display); /* XXX if (ob_restart) */