Page 1 of 1

FullScreen Placement for Multi-Monitors (Linux)

Posted: Tue Dec 31, 2013 5:03 am
by dermont
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).

Re: FullScreen Placement for Multi-Monitors (Linux)

Posted: Wed Jan 08, 2014 10:13 pm
by AlexeyKnyshev
Have u made a pull request? Please, left link to pull request here.

Ty, best regards,
Alexey Knyshev

Re: FullScreen Placement for Multi-Monitors (Linux)

Posted: Thu Jan 16, 2014 10:58 am
by dermont
AlexeyKnyshev wrote:Have u made a pull request? Please, left link to pull request here.

Ty, best regards,
Alexey Knyshev
No haven't made a pull request. Thanks for the advice anyway. It's probably better (even with the gl state cache making things more difficult) to go with my own event/window handling on Linux for fullscreen and multi-monitors.