ref: 6784bb63a4919f1bff75529f9ce85b8bfef81bf1
parent: 619204ca14ed6feeb55ce241b15376921a07b91b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Dec 1 19:56:21 EST 2020
libdraw: do not force flushimage() on freescreen() This causes visual flashes of white in rio. If it is really needed (it is rare) it should be done by the caller.
--- a/sys/src/libdraw/window.c
+++ b/sys/src/libdraw/window.c
@@ -96,12 +96,6 @@
}
a[0] = 'F';
BPLONG(a+1, s->id);
- /*
- * flush(1) because screen is likely holding last reference to
- * window, and want it to disappear visually.
- */
- if(flushimage(d, 1) < 0)
- goto Error;
free(s);
return 1;
}
--
⑨