]> source.dussan.org Git - tigervnc.git/commit
Add fullscreen mode for selected monitors
authorHugo Lundin <hugo@lundin.dev>
Tue, 13 Jul 2021 11:58:12 +0000 (13:58 +0200)
committerHugo Lundin <hugo@lundin.dev>
Fri, 16 Jul 2021 14:09:45 +0000 (16:09 +0200)
commit0d43b96d1c2385fc8202462cf170d7ac7da5d2f7
tree81c32fb5bf0c0e05918b32e53a36e58a03445ee0
parentc084e586927ff040014d6a8ea8c519b3a9a368d2
Add fullscreen mode for selected monitors

The user might not always want to use all monitors when in fullscreen
mode, but instead only a few. This commit adds support for configuring
selected monitors from command line, in the config file and graphically
in the options menu.

Because it might be hard to guarantee the consistency of monitor
identifiers coming from third-parties (for example FLTK), it has been
decided to use our own numerical identifier. This identifier is based on
the monitor's positions. The mapping between this identifier and the
indices used by FLTK is done by MonitorIndicesParameter.
vncviewer/CMakeLists.txt
vncviewer/DesktopWindow.cxx
vncviewer/MonitorArrangement.cxx [new file with mode: 0644]
vncviewer/MonitorArrangement.h [new file with mode: 0644]
vncviewer/MonitorIndicesParameter.cxx [new file with mode: 0644]
vncviewer/MonitorIndicesParameter.h [new file with mode: 0644]
vncviewer/OptionsDialog.cxx
vncviewer/OptionsDialog.h
vncviewer/parameters.cxx
vncviewer/parameters.h
vncviewer/vncviewer.man