rpms/xgalaxy/F-11 xgalaxy-2.0.34-fullscreen-viewport.patch, NONE, 1.1
Hans de Goede
jwrdegoede at fedoraproject.org
Fri Nov 6 12:15:48 UTC 2009
- Previous message: rpms/bind/devel .cvsignore, 1.58, 1.59 bind.spec, 1.330, 1.331 sources, 1.67, 1.68
- Next message: rpms/taglib/devel taglib-1.6.1-20091103.patch, NONE, 1.1 taglib.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwrdegoede
Update of /cvs/extras/rpms/xgalaxy/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16330
Added Files:
xgalaxy-2.0.34-fullscreen-viewport.patch
Log Message:
* Thu Nov 5 2009 Hans de Goede <hdegoede at redhat.com> 2.0.34-14
- Fix sound not working (replace oss code with alsa code)
- Fix building with latest libXxf86dga headers
xgalaxy-2.0.34-fullscreen-viewport.patch:
makewindow.c | 7 +++++++
1 file changed, 7 insertions(+)
--- NEW FILE xgalaxy-2.0.34-fullscreen-viewport.patch ---
diff -up xgalaga-2.0.34/libsprite/makewindow.c~ xgalaga-2.0.34/libsprite/makewindow.c
--- xgalaga-2.0.34/libsprite/makewindow.c~ 2009-09-11 08:48:44.000000000 +0200
+++ xgalaga-2.0.34/libsprite/makewindow.c 2009-09-11 08:50:50.000000000 +0200
@@ -642,6 +642,13 @@ void W_ToggleFullscreen(_win)
}
}
+ /* Warp the pointer to the upper left corner (where our fs_window is),
+ this is necessary as the: XF86VidModeSetViewPort() call below does
+ not seem to do anything on newer Xorg servers, instead the viewport
+ seems to always be centered at the last mouse cursor position. */
+ XWarpPointer(W_Display, None, XDefaultRootWindow(W_Display),
+ 0, 0, 0, 0, 0, 0);
+
/* Switch video mode. */
if ((i >= 0) &&
((modes[i]->hdisplay != mode.hdisplay) ||
- Previous message: rpms/bind/devel .cvsignore, 1.58, 1.59 bind.spec, 1.330, 1.331 sources, 1.67, 1.68
- Next message: rpms/taglib/devel taglib-1.6.1-20091103.patch, NONE, 1.1 taglib.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list