]> git.karo-electronics.de Git - karo-tx-linux.git/commit
VT notifier fix for VT switch
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 5 Mar 2008 00:50:23 +0000 (00:50 +0000)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:34 +0000 (11:47 -0700)
commite39ebfc41dcef0ec42a51342e8603045b1a626da
treea84b3baa30cb35f97cc60442ef7308f5865df641
parentd458a7c853ced17ff79a2a213f0c4e59e5715c1b
VT notifier fix for VT switch

commit: 8182ec49a73729334f5a6c65a607ba7009ebd6d6

VT notifier callbacks need to be aware of console switches.  This is already
partially done from console_callback(), but at that time fg_console, cursor
positions, etc.  are not yet updated and hence screen readers fetch the old
values.

This adds an update notify after all of the values are updated in
redraw_screen(vc, 1).

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/vt.c