]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/unfocus.c
Merge branch 'master' into chaz
[chaz/openbox] / openbox / actions / unfocus.c
index 70384f4d2528b4016174aaeedf4bccb6f0196555..3db00ca361400ca780b2678f878632b1e0c8e19b 100644 (file)
@@ -3,15 +3,15 @@
 
 static gboolean run_func(ObActionsData *data, gpointer options);
 
-void action_unfocus_startup()
+void action_unfocus_startup(void)
 {
-    actions_register("Unfocus", NULL, NULL, run_func, NULL, NULL);
+    actions_register("Unfocus", NULL, NULL, run_func);
 }
 
 /* Always return FALSE because its not interactive */
 static gboolean run_func(ObActionsData *data, gpointer options)
 {
     if (data->client && data->client == focus_client)
-        focus_fallback(FALSE, FALSE, TRUE);
+        focus_fallback(FALSE, FALSE, TRUE, FALSE);
     return FALSE;
 }
This page took 0.0235 seconds and 4 git commands to generate.