Displaying 1 result from an estimated 1 matches for "cursor_window".
2003 Apr 10
1
Starcraft Patch
...@@
WINE_DEFAULT_DEBUG_CHANNEL(cursor);
+#ifdef HAVE_LIBXXF86DGA2
+extern BOOL DGAUsed;
+#endif
+
/**********************************************************************/
#define NB_BUTTONS 5 /* Windows can handle 3 buttons and the wheel too */
@@ -159,8 +163,13 @@
if (data->cursor_window != win)
{
+#ifdef HAVE_LIBXXF86DGA2
+ Display *display = DGAUsed ? gdi_display : data->display;
+#else
+ Display *display = data->display;
+#endif
data->cursor_window = win;
- if (data->cursor) TSXDefineCursor( data->display, win, data->cursor );...