vt: provide notifications on selection changes
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 23 Jan 2015 22:07:21 +0000 (17:07 -0500)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:06:50 +0000 (13:06 +0000)
commitf3f1a2df96c6010ca01e97444edaae5da8e76301
treee5137ceddf53f5450a4bd28cf2c7787dcba90815
parent009d877db54b097da7292b6aeb04b92a8a4932e8
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