http://bugs.winehq.org/show_bug.cgi?id=13588
Summary: Dark Age of Camelot : Invisible mouse cursor Product: Wine Version: 1.0-rc2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: gagnon.kevin@gmail.com
Hi!
Mouse cursor is invisible when playing DAoC on wine. I have to recompile mouse.c to get it work...
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=13588
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-31 22:35:29 --- Recompile why? Are you changing something in it? Where did your Wine came from?
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.
http://bugs.winehq.org/show_bug.cgi?id=13588
Andrew Riedi andrewriedi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewriedi@gmail.com Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #3 from Andrew Riedi andrewriedi@gmail.com 2008-11-14 16:10:27 --- Marking duplicate.
*** This bug has been marked as a duplicate of bug 13048 ***
http://bugs.winehq.org/show_bug.cgi?id=13588
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-14 23:45:41 --- Closing dup.