From 916c3fb0040ff697e2abfe3791e89512499f8ccb Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 8 Oct 2006 23:43:13 +0000 Subject: 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. --- dblbuf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dblbuf.c') diff --git a/dblbuf.c b/dblbuf.c index 79059f7..acd5105 100644 --- a/dblbuf.c +++ b/dblbuf.c @@ -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; idxslices[idx].y = -1; + /* Clean up cursor first.. */ idx = t->rows[b->curs_y]->idx; if ((unsigned)b->slices[idx].y < d->h) -- cgit v1.2.3