rio: flushimage() improves your ability to see, i repeat twice.
This commit is contained in:
parent
02f37359b0
commit
8b9f36dbe2
2 changed files with 3 additions and 3 deletions
|
@ -419,9 +419,9 @@ deletethread(void*)
|
||||||
if(i != nil){
|
if(i != nil){
|
||||||
/* move it off-screen to hide it, since client is slow in letting it go */
|
/* move it off-screen to hide it, since client is slow in letting it go */
|
||||||
originwindow(i, i->r.min, view->r.max);
|
originwindow(i, i->r.min, view->r.max);
|
||||||
|
freeimage(i);
|
||||||
|
flushimage(display, 1);
|
||||||
}
|
}
|
||||||
freeimage(i);
|
|
||||||
flushimage(display, 1);
|
|
||||||
free(s);
|
free(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,6 +109,7 @@ wresize(Window *w, Image *i)
|
||||||
wsetselect(w, w->q0, w->q1);
|
wsetselect(w, w->q0, w->q1);
|
||||||
wscrdraw(w);
|
wscrdraw(w);
|
||||||
wborder(w, Selborder);
|
wborder(w, Selborder);
|
||||||
|
flushimage(display, 1);
|
||||||
wsetname(w);
|
wsetname(w);
|
||||||
w->topped = ++topped;
|
w->topped = ++topped;
|
||||||
w->resized = TRUE;
|
w->resized = TRUE;
|
||||||
|
@ -1126,7 +1127,6 @@ wctlmesg(Window *w, int m, Rectangle r, void *p)
|
||||||
w->screenr = r;
|
w->screenr = r;
|
||||||
strcpy(buf, w->name);
|
strcpy(buf, w->name);
|
||||||
wresize(w, i);
|
wresize(w, i);
|
||||||
flushimage(display, 1);
|
|
||||||
proccreate(deletetimeoutproc, estrdup(buf), 4096);
|
proccreate(deletetimeoutproc, estrdup(buf), 4096);
|
||||||
if(Dx(r)<=0){ /* window got hidden, if we had the input, drop it */
|
if(Dx(r)<=0){ /* window got hidden, if we had the input, drop it */
|
||||||
if(w==input)
|
if(w==input)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue