mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
xcb_flush before polling for events
This commit is contained in:
parent
4697517042
commit
9a52bb6bc2
1 changed files with 2 additions and 0 deletions
|
@ -4266,6 +4266,7 @@ resize(struct ws_win *win, union arg *args)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
xcb_flush(conn);
|
||||||
buttonrelease = 0;
|
buttonrelease = 0;
|
||||||
while ((evt = xcb_poll_for_event(conn)) && buttonrelease != 1) {
|
while ((evt = xcb_poll_for_event(conn)) && buttonrelease != 1) {
|
||||||
/*
|
/*
|
||||||
|
@ -4459,6 +4460,7 @@ move(struct ws_win *win, union arg *args)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
xcb_flush(conn);
|
||||||
buttonrelease = 0;
|
buttonrelease = 0;
|
||||||
while ((evt = xcb_poll_for_event(conn)) && buttonrelease != 1) {
|
while ((evt = xcb_poll_for_event(conn)) && buttonrelease != 1) {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue