summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-31 14:39:50 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 16:50:54 -0500
commite0c1978c516e3463ec3fdd66fba323fd514e2494 (patch)
tree6ccbb16ae5ace203aaa9accf00e831f656980184 /openbox/openbox.c
parent45e2039a58d41a9e104a61232b30cea5d3d2fce6 (diff)
generalize the window managing process into window_manage, which handles dock apps and the like
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c8
1 files changed, 3 insertions, 5 deletions
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);