mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
VT notifier fix for VT switch
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 <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
be852795e1
commit
8182ec49a7
1 changed files with 1 additions and 0 deletions
|
|
@ -702,6 +702,7 @@ void redraw_screen(struct vc_data *vc, int is_switch)
|
|||
if (is_switch) {
|
||||
set_leds();
|
||||
compute_shiftstate();
|
||||
notify_update(vc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue