]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
move focus cycling into its own file
[chaz/openbox] / openbox / openbox.c
index ee3911d982e3448869bd52ae89dd93b653086160..0acb486d0284f182b842d556b43598b1344e17a1 100644 (file)
@@ -30,6 +30,7 @@
 #include "screen.h"
 #include "startupnotify.h"
 #include "focus.h"
+#include "focus_cycle.h"
 #include "moveresize.h"
 #include "frame.h"
 #include "keyboard.h"
@@ -212,7 +213,7 @@ gint main(gint argc, gchar **argv)
     prop_startup(); /* get atoms values for the display */
     extensions_query_all(); /* find which extensions are present */
 
-    if (screen_annex(program_name)) { /* it will be ours! */
+    if (screen_annex()) { /* it will be ours! */
         do {
             modkeys_startup(reconfigure);
 
@@ -283,6 +284,7 @@ gint main(gint argc, gchar **argv)
             /* focus_backup is used for stacking, so this needs to come before
                anything that calls stacking_add */
             focus_startup(reconfigure);
+            focus_cycle_startup(reconfigure);
             window_startup(reconfigure);
             sn_startup(reconfigure);
             screen_startup(reconfigure);
@@ -348,6 +350,7 @@ gint main(gint argc, gchar **argv)
             propwin_shutdown(reconfigure);
             grab_shutdown(reconfigure);
             screen_shutdown(reconfigure);
+            focus_cycle_shutdown(reconfigure);
             focus_shutdown(reconfigure);
             sn_shutdown(reconfigure);
             window_shutdown(reconfigure);
This page took 0.023866 seconds and 4 git commands to generate.