From 6a8f045a899b3503cae2d0256b5e15d937d5dd2f Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Tue, 26 Oct 2004 21:02:11 +0000
Subject: [PATCH] Fix stupid typo that broke focus follow mouse in the previous
 commit.

(Old svn revision: 12109)
---
 src/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events.c b/src/events.c
index 0ec22a70d..3c5d36264 100644
--- a/src/events.c
+++ b/src/events.c
@@ -1396,7 +1396,7 @@ handleEnterNotify (DisplayInfo *display_info, XCrossingEvent * ev)
         if (!(screen_info->params->click_to_focus) && clientAcceptFocus (c))
         {
             TRACE ("EnterNotify window is \"%s\"", c->name);
-            if (!(c->type & WINDOW_DOCK | WINDOW_DESKTOP))
+            if (!(c->type & (WINDOW_DOCK | WINDOW_DESKTOP)))
             {
                 clientSetFocus (c->screen_info, c, ev->time, FOCUS_FORCE);
                 if (!(screen_info->params->raise_on_click))
-- 
GitLab