From: Mikael Magnusson Date: Thu, 28 Feb 2008 18:43:07 +0000 (+0100) Subject: Make Unfocus do what the name says. X-Git-Tag: mikabox-3.4.7.2~24^2~5 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=bec982e40dfb7e2af0d0046df02a757672fe00f7;p=mikachu%2Fopenbox.git Make Unfocus do what the name says. --- diff --git a/openbox/actions/unfocus.c b/openbox/actions/unfocus.c index 22a9378c..ff92547e 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; }