X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=baf88e8134bcc8227c8706cdbae849184781da7e;hb=90cecafa3de2f118e550622932d1d30266c71226;hp=5eb27bc4be574aec7a14a7eef29ad3da65de750b;hpb=435df32acc55a3bc4cc8f9ba954ae21b65c7c69d;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 5eb27bc4..baf88e81 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -105,8 +105,8 @@ void focus_set_client(ObClient *client) OBT_PROP_SET32(obt_root(ob_screen), NET_ACTIVE_WINDOW, WINDOW, active); } - hooks_run(OB_HOOK_WIN_UNFOCUS, old); - hooks_run(OB_HOOK_WIN_FOCUS, client); + hooks_queue(OB_HOOK_WIN_UNFOCUS, old); + hooks_queue(OB_HOOK_WIN_FOCUS, client); } static ObClient* focus_fallback_target(gboolean allow_refocus, @@ -364,4 +364,3 @@ gboolean focus_valid_target(ObClient *ft, return ok; } -