We're now processing the Windows event WM_SETCURSOR to prevent Windows from resetting the mouse cursor after a mouse move.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36987 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Frank Le Grand 2013-08-18 19:24:57 +00:00
parent 45e9f8b8e0
commit 858f1e745e
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-08-18 Frank Le Grand <frank.legrand@testplant.com>
* Source/win32/WIN32Server.m : We're now processing the Windows
event WM_SETCURSOR to prevent Windows from resetting the mouse
cursor after a mouse move.
2013-08-08 Frank Le Grand <frank.legrand@testplant.com>
Merged changes from Trunk (since rev 35217) to TestPlant branch.

View file

@ -1587,6 +1587,11 @@ LRESULT CALLBACK windowEnumCallback(HWND hwnd, LPARAM lParam)
[self decodeWM_KILLFOCUSParams: wParam : lParam : hwnd];
break;
case WM_SETCURSOR:
if (g_cursorId)
{
SetCursor((HCURSOR)g_cursorId);
flags._eventHandled = YES;
}
break;
case WM_QUERYOPEN:
[self decodeWM_QUERYOPENParams: wParam : lParam : hwnd];