From: Dana Jansens Date: Fri, 21 Mar 2003 10:23:34 +0000 (+0000) Subject: dont focus !normal clients under the mouse X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b3507a096858a4958daf92eefbe8bde7efb31b91;p=chaz%2Fopenbox dont focus !normal clients under the mouse --- 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;