FullScreen Placement for Multi-Monitors (Linux)

What it says on the tin: a place to discuss proposed new features.
Post Reply
dermont
Bugbear
Posts: 812
Joined: Thu Dec 09, 2004 2:51 am
x 42

FullScreen Placement for Multi-Monitors (Linux)

Post 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).
Attachments
monitors.tar.gz
(5.83 KiB) Downloaded 393 times
User avatar
AlexeyKnyshev
Goblin
Posts: 213
Joined: Sat May 26, 2012 10:37 am
Location: Russia
x 13

Re: FullScreen Placement for Multi-Monitors (Linux)

Post by AlexeyKnyshev »

Have u made a pull request? Please, left link to pull request here.

Ty, best regards,
Alexey Knyshev
Voltage Engine - boost your ogre project with realtime physics and interactive scripting!
OgreBullet & CMake - easy to use bullet physics integration.
dermont
Bugbear
Posts: 812
Joined: Thu Dec 09, 2004 2:51 am
x 42

Re: FullScreen Placement for Multi-Monitors (Linux)

Post 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.
Post Reply