rio: flushimage() before wscrsleep()

This commit is contained in:
cinap_lenrek 2016-03-23 20:17:58 +01:00
parent e7bc98b057
commit 5c95c50c6c

View file

@ -97,6 +97,8 @@ wscrsleep(Window *w, uint dt)
int y, b;
static Alt alts[3];
if(display->bufp > display->buf)
flushimage(display, 1);
timer = timerstart(dt);
y = w->mc.xy.y;
b = w->mc.buttons;