From 1cacfa85d0e74386d071de0d910ab93e69ae40d3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 29 Jun 2003 17:29:10 +0000 Subject: add some comments and asserts to make sure I don't ever add this bug again --- openbox/openbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index d9ce9a5d..a2f9688d 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -197,6 +197,9 @@ int main(int argc, char **argv) timer_startup(); event_startup(); grab_startup(); + /* focus_backup is used for stacking, so this needs to come before + anything that calls stacking_add */ + focus_startup(); window_startup(); plugin_startup(); /* load the plugins specified in the pluginrc */ @@ -218,7 +221,6 @@ int main(int argc, char **argv) frame_startup(); moveresize_startup(); - focus_startup(); screen_startup(); group_startup(); client_startup(); -- cgit v1.2.3