Use XCB_NONE instead of hard-coded 0.

next
Ingo Bürk 2015-05-29 20:28:35 +02:00
parent 3c11f27201
commit 27e50b827c
1 changed files with 1 additions and 1 deletions

View File

@ -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;