From e0c1978c516e3463ec3fdd66fba323fd514e2494 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Jan 2008 14:39:50 -0500 Subject: generalize the window managing process into window_manage, which handles dock apps and the like --- openbox/openbox.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index 829960eb..95a58198 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -294,7 +294,7 @@ gint main(gint argc, gchar **argv) ObWindow *w; /* get all the existing windows */ - client_manage_all(); + window_manage_all(); focus_nothing(); /* focus what was focused if a wm was already running */ @@ -327,10 +327,8 @@ gint main(gint argc, gchar **argv) obt_main_loop_run(ob_main_loop); state = OB_STATE_EXITING; - if (!reconfigure) { - dock_remove_all(); - client_unmanage_all(); - } + if (!reconfigure) + window_unmanage_all(); menu_shutdown(reconfigure); menu_frame_shutdown(reconfigure); -- cgit v1.2.3