From adc5675823de8e3bbe94a1419b04103c6f845dad Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 14 Mar 2007 15:51:21 +0000 Subject: oh, 2 things in this commit.. 1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh! 2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time. --- openbox/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index 6d455f1f..73524ae4 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1172,7 +1172,7 @@ void action_focus(union ActionData *data) void action_unfocus (union ActionData *data) { if (data->client.any.c == focus_client) - focus_fallback(OB_FOCUS_FALLBACK_UNFOCUSING); + focus_fallback(FALSE); } void action_iconify(union ActionData *data) -- cgit v1.2.3