[Bug 6250] Mouse cursor is not visable

Wine Bugs wine-bugs at winehq.org
Thu Nov 30 04:36:38 CST 2006


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





------- Additional Comments From nospam at thenerdshow.com  2006-30-11 04:36 -------
Those of you who would be happy with any kind of cursor at all will be happy to
know that you can force wine to use the standard X11 cursor with a simple hack.
This prevents wine from hiding the cursor.

Once the real solution is in place, you will no longer need this cheap hack.

diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 5ac714c..07cb0b1 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -642,6 +642,8 @@ static Cursor create_cursor( Display *di
*/
void X11DRV_SetCursor( CURSORICONINFO *lpCursor )
{
+ if (!lpCursor) return; /* Hack: prevent cursor from ever going away (Dark Age
of Camelot) */
+ /* Somebody come up with a better solution, please. */
Cursor cursor;

if (root_window != DefaultRootWindow(gdi_display))

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list