From 361bf6af5c7de09f30f3cf4a220b3f84a3fe451d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 May 2007 04:32:59 +0000 Subject: simplify focus handling a bit. no need to listen to focus going to the frame because if it ever does that, the window is unmapping and the frame will just unmap and send it to root. make focus fallback a lil more robust, it checks for errors when it sets focus on the window, and if an error occured it will focus the next option. --- 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 3f43a238..50191859 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1296,7 +1296,7 @@ void action_focus(union ActionData *data) go moving on us */ event_halt_focus_delay(); - client_focus(data->client.any.c); + client_focus(data->client.any.c, FALSE); } } else { /* focus action on something other than a client, make keybindings -- cgit v1.2.3