From: Samuel Thibault Date: Wed, 5 Mar 2008 00:50:23 +0000 (+0000) Subject: VT notifier fix for VT switch X-Git-Tag: v2.6.24.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39ebfc41dcef0ec42a51342e8603045b1a626da;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 7a5badfb7d846..93cfe4a6cf367 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); } }