]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fbcon: don't repaint the cursor when it is disabled.
authorMichal Januszewski <spock@gentoo.org>
Wed, 27 Jul 2005 18:46:06 +0000 (11:46 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:19 +0000 (16:26 -0700)
commitdbd4f12859307c20a4c65a7de4cdd5f9f518dc7a
tree16aa37137555ce5234d723a69b143bfd0902178b
parentd210224732b3d32e802e3537499297d387852166
[PATCH] fbcon: don't repaint the cursor when it is disabled.

Currently even when the cursor is disabled (`setterm -cursor off`), it is
still repainted as a black rectangle the size of a single char.  This can
be seen, for example, by chvt'ing to a free tty, disabling the cursor and
doing `dd if=3D/dev/urandom of=3D/dev/fb0`.

The patch changes this behaviour by avoiding painting anything when the
cursor is disabled.

Signed-off-by: Michal Januszewski <spock@gentoo.org>
Cc: <linux-fbdev-devel@lists.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/fbcon.c