don't let marker 'null_event' unhide mouse

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adrian Robert 2005-01-17 01:26:01 +00:00
parent 7c8190c993
commit b8464ec6d4
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-01-17 Adrian Robert <arobert@cogsci.ucsd.edu>
* Source/NSApplication.m
(-nextEventMatchingMask:untilDate:inMode:dequeue:): Check that
event is not 'null_event' before using it to unhide mouse.
2005-01-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowserCell.m (-setType:): New method, does nothing to

View file

@ -1648,7 +1648,7 @@ IF_NO_GC(NSAssert([event retainCount] > 0, NSInternalInconsistencyException));
* If we are not in a tracking loop, we may want to unhide a hidden
* because the mouse has been moved.
*/
if (mode != NSEventTrackingRunLoopMode)
if (mode != NSEventTrackingRunLoopMode && event != null_event)
{
if ([NSCursor isHiddenUntilMouseMoves])
{