X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=0acb486d0284f182b842d556b43598b1344e17a1;hb=718adbae6534cc5976ac2e3c2f26c22402b27472;hp=ee3911d982e3448869bd52ae89dd93b653086160;hpb=f58ece609523b5cc4c825c4af185e5a6fdd00210;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index ee3911d9..0acb486d 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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);