Commented out last fix on mouse cursors, which was either incomplete or incorrect. Needs to be reworked.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36994 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Frank Le Grand 2013-08-20 16:41:21 +00:00
parent 858f1e745e
commit 9308410d88

View file

@ -1587,11 +1587,17 @@ 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;
}
// This was a fix where our cursor was reset to the default arrow
// after the first mouse move after we had set it to something
// else according to a view's cursorRects.
// Unfortunately this is not enough, as it now makes the default
// cursor show when we expect a resizing cursor on a Window's
// edges (among other issues).
// if (g_cursorId)
// {
// SetCursor((HCURSOR)g_cursorId);
// flags._eventHandled = YES;
// }
break;
case WM_QUERYOPEN:
[self decodeWM_QUERYOPENParams: wParam : lParam : hwnd];