vt: provide notifications on selection changes
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 23 Jan 2015 22:07:21 +0000 (17:07 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 9 May 2015 22:16:14 +0000 (23:16 +0100)
commite3fc681f02069d4d74c98d933843a511ec12cf4e
tree20acc1bfeec22f2db363162113574c5733c45695
parent52c28541efcc9d5bd0a4cb223aade27ed81422bb
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/tty/vt/vt.c