xcb_flush before polling for events

This commit is contained in:
David Hill 2012-07-14 17:26:45 -04:00 committed by Reginald Kennedy
parent 4697517042
commit 9a52bb6bc2

View file

@ -4266,6 +4266,7 @@ resize(struct ws_win *win, union arg *args)
return;
}
xcb_flush(conn);
buttonrelease = 0;
while ((evt = xcb_poll_for_event(conn)) && buttonrelease != 1) {
/*
@ -4459,6 +4460,7 @@ move(struct ws_win *win, union arg *args)
return;
}
xcb_flush(conn);
buttonrelease = 0;
while ((evt = xcb_poll_for_event(conn)) && buttonrelease != 1) {
/*