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.
This commit is contained in:
parent
7d55aa8a32
commit
1bce6d0981
1 changed files with 0 additions and 6 deletions
|
@ -96,12 +96,6 @@ Error:
|
|||
}
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue