diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-03-05 00:50:23 +0000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2008-03-24 11:47:34 -0700 |
commit | e39ebfc41dcef0ec42a51342e8603045b1a626da (patch) | |
tree | a84b3baa30cb35f97cc60442ef7308f5865df641 | |
parent | d458a7c853ced17ff79a2a213f0c4e59e5715c1b (diff) |
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>
-rw-r--r-- | drivers/char/vt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 7a5badfb7d84..93cfe4a6cf36 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -702,6 +702,7 @@ void redraw_screen(struct vc_data *vc, int is_switch) if (is_switch) { set_leds(); compute_shiftstate(); + notify_update(vc); } } |