mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-08 08:00:34 +00:00
Fix for NativeHost windows becoming inactive when then go to the background.
This commit is contained in:
1 parent
a8d02f43e2
commit
f21ec37531
1 file changed
+2
-1
@@ -28,7 +28,8 @@ CGEventRef headTapCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef e
|
||||
if ([window isKindOfClass:[WebWindow class]] && ![(WebWindow *)window hitTest:NSLocation])
|
||||
{
|
||||
[window setIgnoresMouseEvents:YES];
|
||||
|
||||
[window performSelector:@selector(setIgnoresMouseEvents:) withObject:NO afterDelay:1.0];
|
||||
|
||||
[DisabledWindows addObject:window];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user