mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 04:10:47 +00:00
Improvements to handle cursors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36802 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7dc57f31a
commit
c4080b3b73
3 changed files with 18 additions and 3 deletions
|
@ -3968,6 +3968,10 @@ resetCursorRectsForView(NSView *theView)
|
|||
{
|
||||
GSTrackingRect *r =(GSTrackingRect*)[theEvent userData];
|
||||
NSCursor *c = (NSCursor*)[r owner];
|
||||
|
||||
// Don't update the cursor if the window isn't the key window.
|
||||
if (!_f.is_key)
|
||||
break;
|
||||
|
||||
if ([theEvent trackingNumber]) // It's a mouse entered
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue