From 85a1a0cfb3e6f57b37d7a7b83132698b2d6cdee3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 12 Mar 2007 06:04:00 +0000 Subject: don't validate inside client_focus. instead, validate before you call it! --- openbox/action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index 097eaf8d..73eadf8d 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1164,7 +1164,8 @@ void action_focus(union ActionData *data) moving on us */ event_halt_focus_delay(); - client_focus(data->client.any.c); + if (client_validate(data->client.any.c)) + client_focus(data->client.any.c); } } -- cgit v1.2.3