[Bug 13588] Dark Age of Camelot : Invisible mouse cursor

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 31 22:58:15 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13588





--- Comment #2 from Kevin Gagnon <gagnon.kevin at gmail.com>  2008-05-31 22:58:14 ---
I have to add the lines according to this patch : 

--- ./dlls/winex11.drv/mouse.c.orig 2006-11-24 17:57:56.000000000 -0900
+++ ./dlls/winex11.drv/mouse.c 2006-11-26 23:33:32.000000000 -0900
@@ -648,7 +648,15 @@
*/
void X11DRV_SetCursor( CURSORICONINFO *lpCursor )
{
- Cursor cursor;
+/* Hack: prevent annoying blinking mouse pointer in (Dark Age of Camelot) */
+static int lastCursor; /* store state of previous cursor */
+if (!lpCursor) /* prevent drawing a blank cursor every other time */
+ {
+ if (lastCursor) {lastCursor=0; return;} /* return from function if cursor is
blank */
+ } /* unless cursor is blank twice in a row, in which case we can let it be
blank */
+lastCursor=lpCursor;
+/* End Hack */
+Cursor cursor;

if (root_window != DefaultRootWindow(gdi_display))
{


Found here : http://appdb.winehq.org/objectManager.php?sClass=version&iId=6307



The patch is old. It's been written for wine 0.9.26. But I can read a few line
of codes and managed to modify the mouse.c file to add those line at the right
place.

I am compiling wine from source and then i juste change the winex11.drv.so from
Scott Ritchie's ubutnu/debian packages.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list