From b3507a096858a4958daf92eefbe8bde7efb31b91 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 21 Mar 2003 10:23:34 +0000 Subject: [PATCH] dont focus !normal clients under the mouse --- plugins/focus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/focus.c b/plugins/focus.c index 8528d68c..cf30b371 100644 --- a/plugins/focus.c +++ b/plugins/focus.c @@ -29,8 +29,7 @@ static gboolean focus_under_pointer() break; } if (it != NULL) { - client_focus(it->data); - return TRUE; + return client_normal(it->data) && client_focus(it->data); } } return FALSE; -- 2.39.2