always send the exact client to the hook's actions that the hook fired for
authorDana Jansens <danakj@orodu.net>
Sat, 1 Mar 2008 05:09:20 +0000 (00:09 -0500)
committerDana Jansens <danakj@orodu.net>
Sat, 1 Mar 2008 05:09:20 +0000 (00:09 -0500)
openbox/hooks.c

index ea46192..7d7f700 100644 (file)
@@ -67,7 +67,7 @@ void hooks_run(ObHook hook, struct _ObClient *client)
                      OB_USER_ACTION_HOOK,
                      0, -1, -1, 0,
                      OB_FRAME_CONTEXT_NONE,
                      OB_USER_ACTION_HOOK,
                      0, -1, -1, 0,
                      OB_FRAME_CONTEXT_NONE,
-                     event_target_client(client));
+                     client);
 }
 
 void hooks_add(ObHook hook, struct _ObActionsAct *act)
 }
 
 void hooks_add(ObHook hook, struct _ObActionsAct *act)