search for: lpcursor

Displaying 2 results from an estimated 2 matches for "lpcursor".

2010 Oct 19
1
X11 Cursor's in Wine Applications
...e <X11/cursorfont.h> /*********************************************************************** * SetCursor (X11DRV.@) @@ -961,14 +963,19 @@ /* set the same cursor for all top-level windows of the current thread */ wine_tsx11_lock(); - cursor = create_cursor( data->display, lpCursor ); + + //cursor = create_cursor( data->display, lpCursor ); + cursor = XCreateFontCursor(data->display, XC_arrow); + + What I'm looking todo is make it so wine uses the X11 cursor, but hides it like the normal WINE cursor when the program defines it's own cursor (IE WoW.exe)....
2003 Apr 10
1
Starcraft Patch
...struct x11drv_thread_data *data = x11drv_thread_data(); +#ifdef HAVE_LIBXXF86DGA2 + Display *display = DGAUsed ? gdi_display : data->display; +#else + Display *display = data->display; +#endif wine_tsx11_lock(); - cursor = create_cursor( data->display, lpCursor ); + cursor = create_cursor( display, lpCursor ); if (cursor) { - if (data->cursor) XFreeCursor( data->display, data->cursor ); + if (data->cursor) XFreeCursor( display, data->cursor ); data->cursor = cursor;...