mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-24 08:31:42 +00:00
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:
parent
45e9f8b8e0
commit
858f1e745e
2 changed files with 11 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue