]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
change some of the hooks, and add all the hooks to the code so that they run
[chaz/openbox] / openbox / screen.c
index 60638a83c6b18832850496b3af2c4e4aceebc9ac..3432ac436b490199bdb1e83cb76db2e1f68e12fb 100644 (file)
@@ -31,6 +31,7 @@
 #include "event.h"
 #include "focus.h"
 #include "popup.h"
+#include "hooks.h"
 #include "render/render.h"
 #include "gettext.h"
 #include "obt/display.h"
@@ -708,6 +709,8 @@ void screen_set_desktop(guint num, gboolean dofocus)
 
     if (event_curtime != CurrentTime)
         screen_desktop_user_time = event_curtime;
+
+    hooks_run(OB_HOOK_SCREEN_DESK_CHANGE, NULL);
 }
 
 void screen_add_desktop(gboolean current)
This page took 0.019851 seconds and 4 git commands to generate.