]> git.baikalelectronics.ru Git - kernel.git/commit
fbcon: don't draw cursor when it's disabled
authorMichal Januszewski <spock@gentoo.org>
Tue, 8 May 2007 07:38:07 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:28 +0000 (11:15 -0700)
commitbdc7087a2387ea34f9b01107687ce6020710a0b3
tree40bc6df28d932d9873df786613d8254f545b8661
parent33ba6aae9888144763f641b993ef2b3c55d9b2c9
fbcon: don't draw cursor when it's disabled

When the cursor and echo are disabled on the current console, pressing a
key will cause a black rectangle to be painted in the cursor's position.
Fix this by not touching the framebuffer in fbcon_cursor() when the
cursor is off.

Signed-off-by: Michal Januszewski <spock@gentoo.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/console/fbcon.c