Fix cursor rect problems, when window closes or the view is scrolled.

Patch by Mircea Trache <aer@shaw.ca>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22988 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2006-05-27 21:54:29 +00:00
parent e9e1827d77
commit 19e6da83c7
4 changed files with 97 additions and 4 deletions

View file

@ -448,6 +448,14 @@ backgroundColorHint:(NSColor *)bg
*/
[self pop];
}
else
{
/*
* The cursor was set on entry, we reset it to the default cursor on exit.
* Using push and pop all the time would seem to be a clearer way.
*/
[[NSCursor arrowCursor] set];
}
}
/**<p>Pops the cursor off the top of the stack and makes the previous