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