Patches to fix fullscreen games viewport issues with recent Xorg versions
Hans de Goede
hdegoede at redhat.com
Wed Nov 11 03:04:39 PST 2009
Hi,
With recent Xorg versions XF86VidModeSetViewPort() does not seem to
do anything. So fullscreen games which place an undecorated window
at 0,0 and then do XF86VidModeSetViewPort(.., 0, 0) no may end up with
the viewport wrong (showing part of the game and part of the
desktop).
This can be workedaround by doing a XWarpPointer() call to 0, 0
before XF86VidModeSwitchToMode().
SDL is already doing this, attached are patches for:
allegro
ClanLib-0.8 / 1.0 (0.6 and 2.x are not affected)
xgalaxy
Implementing this workaround.
Regards,
Hans
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: allegro-4.2.2-fullscreen-viewport.patch
Url: http://lists.freedesktop.org/archives/games/attachments/20091111/1b6ae8ee/attachment.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ClanLib-1.0.0-fullscreen-viewport.patch
Url: http://lists.freedesktop.org/archives/games/attachments/20091111/1b6ae8ee/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xgalaxy-2.0.34-fullscreen-viewport.patch
Url: http://lists.freedesktop.org/archives/games/attachments/20091111/1b6ae8ee/attachment-0001.asc
More information about the Games
mailing list