summaryrefslogtreecommitdiffstats
path: root/src/xx.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2021-02-16 16:55:54 +0100
committerSimon Rettberg2021-02-16 16:55:54 +0100
commitcf50c34ad5a5e3c4be2148353ed7dadb99349297 (patch)
tree3c3f74899a20017c01f5eaecb72693e3430e2283 /src/xx.cpp
parent--dump: Fall back to screen size if list is empty (diff)
downloadbeamergui-cf50c34ad5a5e3c4be2148353ed7dadb99349297.tar.gz
beamergui-cf50c34ad5a5e3c4be2148353ed7dadb99349297.tar.xz
beamergui-cf50c34ad5a5e3c4be2148353ed7dadb99349297.zip
More fallback special case workaroud stuff
On NVIDIA cards, you cannot add new resolutions to outputs via xrandr. So given that we want to set up clone mode, and assuming the projector's native resolution is 1280x800 it might happen that the connected screen doesn't have that resolution in its list. This meant that the screen would use its native resolution instead and still work in clone mode, which is suboptimal. Now we try to at least fall back to the according 16:9 resolution in case the projector wants a 16:10 one and the screen doesn't suport it, as 16:9 has a higher chance of being supported by the screen.
Diffstat (limited to 'src/xx.cpp')
0 files changed, 0 insertions, 0 deletions