FullScreen Placement for Multi-Monitors (Linux)
Posted: Tue Dec 31, 2013 5:03 am
See attached for implementation.
main.cpp
=========
FullScreen width and height are currently set to width and height of first metamode (2 monitors/NVidia driver) since Ogre currently has no multi monitor support.
monitors.patch
=============
Allows fullscreen monitor edges to be passed to create a fullscreen on a single monitor or span multiple monitors. Requires support for EWMH _NET_WM_FULLSCREEN_MONITORS, tested on gnome/metacity. Does anyone know what the corresponding (EWMH) atom for KDE is?
Allows disabling compositor on fullscreen where EWMH _NET_WM_BYPASS_COMPOSITOR is supported ( not supported in metacity).
The above will allow some control over fullscreen placement in the current setup and allow easier testing when implementing multiple monitor support via RandR.
Edit: Patched and tested against default branch (rev 5981).
main.cpp
=========
FullScreen width and height are currently set to width and height of first metamode (2 monitors/NVidia driver) since Ogre currently has no multi monitor support.
monitors.patch
=============
Allows fullscreen monitor edges to be passed to create a fullscreen on a single monitor or span multiple monitors. Requires support for EWMH _NET_WM_FULLSCREEN_MONITORS, tested on gnome/metacity. Does anyone know what the corresponding (EWMH) atom for KDE is?
Allows disabling compositor on fullscreen where EWMH _NET_WM_BYPASS_COMPOSITOR is supported ( not supported in metacity).
The above will allow some control over fullscreen placement in the current setup and allow easier testing when implementing multiple monitor support via RandR.
Edit: Patched and tested against default branch (rev 5981).