mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
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:
parent
e9e1827d77
commit
19e6da83c7
4 changed files with 97 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue