mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-08 00:01:41 +03:00
Prevent cocoa infinite event loop at startup
The PSMTabController framework was calling mouse exited events on its rollover button implementation which caused an inifinite recursion in event forwarding.
This commit is contained in:
parent
3bee7b7e12
commit
a63e902871
@ -94,9 +94,11 @@
|
||||
|
||||
_myTrackingRectTag = [self addTrackingRect:trackRect owner:self userData:nil assumeInside:mouseInside];
|
||||
if(mouseInside) {
|
||||
[self mouseEntered:nil];
|
||||
//[self mouseEntered:nil];
|
||||
[self setImage:_rolloverImage];
|
||||
} else{
|
||||
[self mouseExited:nil];
|
||||
//[self mouseExited:nil];
|
||||
[self setImage:_usualImage];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user