Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9477e260 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds
Browse files

[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: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fa385bef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
}