Make Unfocus do what the name says.
[mikachu/openbox.git] / openbox / actions / unfocus.c
index 3db00ca..63863e5 100644 (file)
@@ -11,7 +11,7 @@ void action_unfocus_startup(void)
 /* 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, FALSE);
+    actions_interactive_cancel_act();
+    focus_nothing();
     return FALSE;
 }