diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-08 23:43:13 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-08 23:43:13 +0000 |
commit | 916c3fb0040ff697e2abfe3791e89512499f8ccb (patch) | |
tree | 39c1689ffed8e89100a25045329e999751b874bc /dblbuf.c | |
parent | 91f215a78c28986a12f4cd9d5e03ffea17b3363e (diff) |
fbcon target: let the kernel do the key mapping for us...
this made it easy to fix vc switching and window resizing, so i'm
fixing those in the same commit as well.
Diffstat (limited to 'dblbuf.c')
-rw-r--r-- | dblbuf.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -127,6 +127,9 @@ void uudisp_refresh(struct uudisp *d, struct uuterm *t) int h = t->h < d->h ? t->h : d->h; int x1, x2, idx, y; + if (!b->active) return; + if (b->repaint) for (idx=0; idx<h; idx++) b->slices[idx].y = -1; + /* Clean up cursor first.. */ idx = t->rows[b->curs_y]->idx; if ((unsigned)b->slices[idx].y < d->h) |