Displaying 1 result from an estimated 1 matches for "have_libxxf86dga2".
2003 Apr 10
1
Starcraft Patch
...atic int DGAKeyReleaseEventType;
-static BOOL DGAUsed = FALSE;
+BOOL DGAUsed = FALSE;
static HWND DGAhwnd = 0;
extern void X11DRV_DGAMotionEvent( HWND hwnd, XDGAMotionEvent *event );
@@ -133,18 +133,40 @@
XEvent event;
int count = 0;
+ /* Added to make starcraft work */
+#ifdef HAVE_LIBXXF86DGA2
+ Display *display = DGAUsed ? gdi_display : data->display;
+#else
+ Display *display = data->display;
+#endif
+
wine_tsx11_lock();
- while ( XPending( data->display ) )
+ /* Changed to make starcraft work */
+ while ( XPending( display ) )
{
- Bool ignore;...