aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTooltip.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTooltip.m')
-rw-r--r--Source/SPTooltip.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPTooltip.m b/Source/SPTooltip.m
index 64842427..0c84061b 100644
--- a/Source/SPTooltip.m
+++ b/Source/SPTooltip.m
@@ -389,7 +389,6 @@ static float slow_in_out (float t)
int eventType;
while(event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantFuture] inMode:NSDefaultRunLoopMode dequeue:YES])
{
- [NSApp sendEvent:event];
eventType = [event type];
if(eventType == NSKeyDown || eventType == NSLeftMouseDown || eventType == NSRightMouseDown || eventType == NSOtherMouseDown || eventType == NSScrollWheel)
break;
@@ -402,6 +401,8 @@ static float slow_in_out (float t)
if(spTooltipCounter > 1)
break;
+ [NSApp sendEvent:event];
+
}
[keyWindow setAcceptsMouseMovedEvents:didAcceptMouseMovedEvents];