Skip to content

Commit ff78538

Browse files
Nicolas Pitregregkh
authored andcommitted
vt: add missing notification when switching back to text mode
Programs using poll() on /dev/vcsa to be notified when VT changes occur were missing one case: the switch from gfx to text mode. Signed-off-by: Nicolas Pitre <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e04c78d commit ff78538

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/tty/vt/vt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4650,6 +4650,7 @@ void do_unblank_screen(int leaving_gfx)
46504650
set_palette(vc);
46514651
set_cursor(vc);
46524652
vt_event_post(VT_EVENT_UNBLANK, vc->vc_num, vc->vc_num);
4653+
notify_update(vc);
46534654
}
46544655
EXPORT_SYMBOL(do_unblank_screen);
46554656

0 commit comments

Comments
 (0)