File wine-mountblade.patch of Package wine-pulseaudio

diff -Naur wine-1.3.23/dlls/wined3d/device.c wine-1.3.23-mine/dlls/wined3d/device.c
--- wine-1.3.23/dlls/wined3d/device.c	2011-06-24 18:29:32.000000000 -0400
+++ wine-1.3.23-mine/dlls/wined3d/device.c	2011-07-05 21:48:25.054485425 -0400
@@ -5321,11 +5321,11 @@
             wined3d_surface_unmap(cursor_image);
             /* Create our cursor and clean up. */
             cursor = CreateIconIndirect(&cursorInfo);
+            SetCursor(cursor);
             if (cursorInfo.hbmMask) DeleteObject(cursorInfo.hbmMask);
             if (cursorInfo.hbmColor) DeleteObject(cursorInfo.hbmColor);
             if (device->hardwareCursor) DestroyCursor(device->hardwareCursor);
             device->hardwareCursor = cursor;
-            if (device->bCursorVisible) SetCursor( cursor );
             HeapFree(GetProcessHeap(), 0, maskBits);
         }
     }
@@ -5343,19 +5343,6 @@
 
     device->xScreenSpace = x_screen_space;
     device->yScreenSpace = y_screen_space;
-
-    /* switch to the software cursor if position diverges from the hardware one */
-    if (device->hardwareCursor)
-    {
-        POINT pt;
-        GetCursorPos( &pt );
-        if (x_screen_space != pt.x || y_screen_space != pt.y)
-        {
-            if (device->bCursorVisible) SetCursor( NULL );
-            DestroyCursor( device->hardwareCursor );
-            device->hardwareCursor = 0;
-        }
-    }
 }
 
 BOOL CDECL wined3d_device_show_cursor(struct wined3d_device *device, BOOL show)