From 33cc5724028121753bfc6e4fc51f3027864f9678 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 28 Mar 2007 02:00:10 +0000 Subject: drop some wasted client_validates. --- openbox/event.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index 15724968..96fe6275 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1320,11 +1320,8 @@ static gboolean focus_delay_func(gpointer data) ObClient *c = data; if (focus_client != c) { - if (client_validate(c)) { - client_focus(c); - if (config_focus_raise) - client_raise(c); - } + if (client_focus(c) && config_focus_raise) + client_raise(c); } return FALSE; /* no repeat */ } -- cgit v1.2.3