From: Ingo Bürk Date: Fri, 29 May 2015 18:28:35 +0000 (+0200) Subject: Use XCB_NONE instead of hard-coded 0. X-Git-Tag: 4.11~101^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F1725%2Fhead;p=i3%2Fi3 Use XCB_NONE instead of hard-coded 0. --- 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;