tantialias redraw - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit dcf4d596ca456ccaf348f6e58f4231908fabf23b
(DIR) parent 0aa79278fae7f76a9b05d133ae6d8a616d22cc1f
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 30 Mar 2006 13:00:27 +0000
antialias redraw
Diffstat:
M src/cmd/9term/wind.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/9term/wind.c b/src/cmd/9term/wind.c
t@@ -730,8 +730,11 @@ void
wrepaint(Window *w)
{
wsetcols(w);
- if(!w->mouseopen)
+ if(!w->mouseopen){
+ if(font->maxdepth > 1)
+ draw(w->f.b, w->f.r, cols[BACK], nil, ZP);
_frredraw(&w->f, w->f.r.min);
+ }
if(w == input){
wborder(w, Selborder);
wsetcursor(w, 0);