X11 Cursor's in Wine Applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok I know I can get X11 theme'd cursor in wine with this code for mouse.c:

+#include <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).  Is this possible?

-- 
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-users/attachments/20101019/a5a000be/attachment.htm>



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux