From: Antonino A. Daplas Date: Wed, 1 Feb 2006 11:06:52 +0000 (-0800) Subject: [PATCH] fbcon: Fix screen artifacts when moving cursor X-Git-Tag: v2.6.16-rc2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9477e260b7ca3b6076b91eae15739383c508f3e2;p=linux-2.6-omap-h63xx.git [PATCH] fbcon: Fix screen artifacts when moving cursor When moving the cursor by writing to /dev/vcs*, the old cursor image is not erased. Fix by hiding the cursor first before moving the cursor to the new position. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/vt.c b/drivers/char/vt.c index f1d9cb7feae..0900d1dbee5 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -3213,6 +3213,7 @@ void getconsxy(struct vc_data *vc, unsigned char *p) void putconsxy(struct vc_data *vc, unsigned char *p) { + hide_cursor(vc); gotoxy(vc, p[0], p[1]); set_cursor(vc); }