From 27e50b827c1994f48721150810ba8df1a695becb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ingo=20B=C3=BCrk?= Date: Fri, 29 May 2015 20:28:35 +0200 Subject: [PATCH] Use XCB_NONE instead of hard-coded 0. --- src/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index c6d3e81d..0eda54b0 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -215,7 +215,7 @@ static void handle_motion_notify(xcb_motion_notify_event_t *event) { /* Skip events where the pointer was over a child window, we are only * interested in events on the root window. */ - if (event->child != 0) + if (event->child != XCB_NONE) return; Con *con; -- 2.39.5