ref: 1bce6d0981bff66b122ca49d7251e7e627af3c40
parent: 7d55aa8a32112a689ad0d41b876efe335d0b1115
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;
}