vc: propagate "viewed as bool" from screenpos up
authorJiri Slaby <jslaby@suse.cz>
Tue, 18 Aug 2020 08:56:53 +0000 (10:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 11:45:20 +0000 (13:45 +0200)
commitb8209f694f7f4256181deea92d30eedb908d6788
tree90d7f3d7767502bef2399480fa2083e980ab8ce3
parenta5c6bd806dd626103db38dee77796fe758c8df94
vc: propagate "viewed as bool" from screenpos up

viewed is used as a flag, i.e. bool. So treat is as such in most of the
places. vcs_vc is handled in the next patch.

Note: the last parameter of invert_screen was misnamed in the
declaration since 1.1.92.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200818085706.12163-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/main.c
drivers/tty/vt/selection.c
drivers/tty/vt/vt.c
include/linux/selection.h