summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2010-07-28 15:46:54 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2010-07-28 15:46:54 +0200
commit25248c2c5d3a3709e6216fe3a4b50d3166fdd93f (patch)
treef8f83d602cc74f0385c353c473a08f3b9899a33f /mcwm.c
parenta255559021b4733841ece8f0f9a54a67813f8133 (diff)
downloadmcwm-25248c2c5d3a3709e6216fe3a4b50d3166fdd93f.zip
We don't care about EnterNotify pseudo events when ungrabbing.
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c3
1 files changed, 1 insertions, 2 deletions
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,