From 97fb463e76d50fcb546998f449861dea6684af0d Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sat, 4 Apr 2009 16:16:02 +0200 Subject: [PATCH] event: also filter leave notify events Signed-off-by: Julien Danjou --- event.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/event.c b/event.c index ae907835..c89dbb63 100644 --- a/event.c +++ b/event.c @@ -456,6 +456,9 @@ event_handle_leavenotify(void *data __attribute__ ((unused)), wibox_t *wibox; client_t *c; + if(ev->mode != XCB_NOTIFY_MODE_NORMAL) + return 0; + if((c = client_getbywin(ev->event))) { if(globalconf.hooks.mouse_leave != LUA_REFNIL)