http://bugs.winehq.org/show_bug.cgi?id=13588
--- Comment #2 from Kevin Gagnon gagnon.kevin@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.