2009/11/11 Hans de Goede<hdegoede@redhat.com>:
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
Thanks Hans!
Do you know from which version of Xorg is this happening,