do not process GSAppKitWindowLeave events for closed windows

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29332 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rmottola 2010-01-20 14:58:59 +00:00
parent e65a790956
commit 13e9913ec8
2 changed files with 10 additions and 0 deletions

View file

@ -3953,6 +3953,10 @@ resetCursorRectsForView(NSView *theView)
break;
case GSAppKitWindowLeave:
/* we ignore this event for a window that is already closed */
if (_f.has_closed == YES);
break;
/*
* We need to go through all of the views, and if there
* is any with a tracking rectangle then we need to