Merge branch 'master' into next

This commit is contained in:
Michael Stapelberg 2012-09-28 18:24:04 +02:00
commit cd2a1267c8

View File

@ -581,7 +581,7 @@ void drag_pointer(Con *con, const xcb_button_press_event_t *event, xcb_window_t
free(inside_event); free(inside_event);
} while ((inside_event = xcb_poll_for_event(conn)) != NULL); } while ((inside_event = xcb_poll_for_event(conn)) != NULL);
if (last_motion_notify == NULL) if (last_motion_notify == NULL || loop_done)
continue; continue;
new_x = ((xcb_motion_notify_event_t*)last_motion_notify)->root_x; new_x = ((xcb_motion_notify_event_t*)last_motion_notify)->root_x;