From: <ho...@us...> - 2015-02-17 00:41:57
|
Revision: 8658 http://sourceforge.net/p/skim-app/code/8658 Author: hofman Date: 2015-02-17 00:41:53 +0000 (Tue, 17 Feb 2015) Log Message: ----------- Eat up mouse exited and mouse entered events while resizing side window, otherwise they will be fired after finishing Modified Paths: -------------- trunk/SKSideWindow.m Modified: trunk/SKSideWindow.m =================================================================== --- trunk/SKSideWindow.m 2015-02-17 00:27:40 UTC (rev 8657) +++ trunk/SKSideWindow.m 2015-02-17 00:41:53 UTC (rev 8658) @@ -298,7 +298,7 @@ [mainContentView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; while (keepGoing) { - theEvent = [self nextEventMatchingMask: NSLeftMouseUpMask | NSLeftMouseDraggedMask]; + theEvent = [self nextEventMatchingMask: NSLeftMouseUpMask | NSLeftMouseDraggedMask | NSMouseEnteredMask | NSMouseExitedMask]; switch ([theEvent type]) { case NSLeftMouseDragged: { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |