From: Mikael Magnusson Date: Thu, 28 Feb 2008 18:43:07 +0000 (+0100) Subject: Make Unfocus do what the name says. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=53ed7cfe3a265f637efe818eb26d915f096835d7;p=mikachu%2Fopenbox.git Make Unfocus do what the name says. --- diff --git a/openbox/actions/unfocus.c b/openbox/actions/unfocus.c index 3db00ca3..63863e53 100644 --- a/openbox/actions/unfocus.c +++ b/openbox/actions/unfocus.c @@ -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; }