Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765615AbYCUXJq (ORCPT ); Fri, 21 Mar 2008 19:09:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932163AbYCUWwN (ORCPT ); Fri, 21 Mar 2008 18:52:13 -0400 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:41290 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932146AbYCUWwJ (ORCPT ); Fri, 21 Mar 2008 18:52:09 -0400 Message-Id: <20080321224430.459425233@sous-sol.org> References: <20080321224250.144333319@sous-sol.org> User-Agent: quilt/0.46-1 Date: Fri, 21 Mar 2008 15:43:43 -0700 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org, jejb@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Samuel Thibault , Greg Kroah-Hartman Subject: [patch 53/76] VT notifier fix for VT switch Content-Disposition: inline; filename=vt-notifier-fix-for-vt-switch.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 39 -stable review patch. If anyone has any objections, please let us know. --------------------- From: Samuel Thibault 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 --- drivers/char/vt.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -702,6 +702,7 @@ void redraw_screen(struct vc_data *vc, i if (is_switch) { set_leds(); compute_shiftstate(); + notify_update(vc); } } -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/