Merge branch 'master' into next

This commit is contained in:
Michael Stapelberg 2012-06-10 21:05:58 +02:00
commit f28afc8f6b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ void handle_button(xcb_button_press_event_t *event) {
return; return;
} }
int32_t x = event->event_x; int32_t x = event->event_x >= 0 ? event->event_x : 0;
DLOG("Got Button %d\n", event->detail); DLOG("Got Button %d\n", event->detail);