Bug: loss of mousepointer

Alexandre Julliard julliard at winehq.com
Fri Sep 14 13:31:31 CDT 2001


Marcus Meissner <marcus at jet.franken.de> writes:

> After last nights CVS commits, the Mousepointer appears not to be visible
> in some applications in both managed and unmanaged mode.
> 
> Reproducable for me with sol.exe and winmine.exe (16bit) for instance.

This should fix it I think:

Index: windows/nonclient.c
===================================================================
RCS file: /opt/cvs-commit/wine/windows/nonclient.c,v
retrieving revision 1.84
diff -u -r1.84 nonclient.c
--- windows/nonclient.c	2001/08/24 00:26:59	1.84
+++ windows/nonclient.c	2001/09/14 17:20:00
@@ -1729,7 +1729,8 @@
  */
 LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
 {
-    if (hwnd != (HWND)wParam) return 0;  /* Don't set the cursor for child windows */
+    if (hwnd != WIN_GetFullHandle( (HWND)wParam ))
+        return 0;  /* Don't set the cursor for child windows */
 
     switch(LOWORD(lParam))
     {

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list