aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-03-30 13:00:27 +0000
committerrsc <devnull@localhost>2006-03-30 13:00:27 +0000
commitdcf4d596ca456ccaf348f6e58f4231908fabf23b (patch)
treef5304c8d40df4c9a0dbaeba32e43479525b63d0e /src/cmd/9term
parent0aa79278fae7f76a9b05d133ae6d8a616d22cc1f (diff)
downloadplan9port-dcf4d596ca456ccaf348f6e58f4231908fabf23b.tar.gz
plan9port-dcf4d596ca456ccaf348f6e58f4231908fabf23b.tar.bz2
plan9port-dcf4d596ca456ccaf348f6e58f4231908fabf23b.zip
antialias redraw
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/wind.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/9term/wind.c b/src/cmd/9term/wind.c
index fbb329e1..66693308 100644
--- a/src/cmd/9term/wind.c
+++ b/src/cmd/9term/wind.c
@@ -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);