Fullscreen when screens > 1 shouldn't require disabling a screen (or
grabbing the mouse by default, so despite having got fullscreen on one
screen, the mouse can't be moved outside the window), attached patch for
libsdl1.2-debian_1.2.11 makes the existing xinerama workaround useable
so you can choose the head to use for fullscreen
(SDL_VIDEO_FULLSCREEN_HEAD=<N>), and disables grabbing the mouse by
default (the large majority of games that use mouse grabbing, ie. to
make scrolling on the screen edge easier, already grab the mouse
appropriately (release when paused for example) to handle windowed mode
- and if they don't, it's usually a trivial patch).

Main limitation of this patch is lack of support for changing resolution
(programatically finding a suitable vidmode to change one of n monitors
to a specific resolution without changing the rest is a nightmare, and
as I have LCDs, I don't really want to run them at anything other than
native resolution anyway).

Only change to default behaviour (SDL_VIDEO_FULLSCREEN_HEAD not set) is
no longer grabbing the mouse in fullscreen (shouldn't make any
difference for fullscreen with one monitor, as the mouse effectively
can't leave the window anyway).

** Attachment added: "301_xinerama-sort-of-working.diff"
   http://librarian.launchpad.net/7465586/301_xinerama-sort-of-working.diff

-- 
Fullscreen display split between screens with Xinerama/MergedFB
https://bugs.launchpad.net/bugs/14044
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to