]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
queue hooks so that they don't run as each thing happens, instead run them at the...
[chaz/openbox] / openbox / screen.c
index 3432ac436b490199bdb1e83cb76db2e1f68e12fb..cd46c53bcb76cfa6092eb11a6e2db8fcb770057d 100644 (file)
@@ -710,7 +710,7 @@ 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);
+    hooks_queue(OB_HOOK_SCREEN_DESK_CHANGE, NULL);
 }
 
 void screen_add_desktop(gboolean current)
This page took 0.023325 seconds and 4 git commands to generate.