From 25248c2c5d3a3709e6216fe3a4b50d3166fdd93f Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Wed, 28 Jul 2010 15:46:54 +0200 Subject: We don't care about EnterNotify pseudo events when ungrabbing. --- mcwm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mcwm.c') diff --git a/mcwm.c b/mcwm.c index 83a2fc3..0dff3e1 100644 --- a/mcwm.c +++ b/mcwm.c @@ -2543,8 +2543,7 @@ void events(void) * focus in these cases. * */ - if (e->mode == XCB_NOTIFY_MODE_NORMAL - || e->mode == XCB_NOTIFY_MODE_UNGRAB) + if (e->mode == XCB_NOTIFY_MODE_NORMAL) { /* * If we're entering the same window we focus now, -- cgit v1.2.3