vt: provide notifications on selection changes
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 23 Jan 2015 22:07:21 +0000 (17:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:40:51 +0000 (14:40 -0800)
commitcabab528e7641cc210791af946031ff98d06046d
tree9816ab75cad3201853c6770c7adb334f205a3afe
parent8b1d57fdf3dd846e4b797a913aecd7f832abb629
vt: provide notifications on selection changes

commit 19e3ae6b4f07a87822c1c9e7ed99d31860e701af upstream.

The vcs device's poll/fasync support relies on the vt notifier to signal
changes to the screen content.  Notifier invocations were missing for
changes that comes through the selection interface though.  Fix that.

Tested with BRLTTY 5.2.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Cc: Dave Mielke <dave@mielke.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c