Fix for NativeHost windows becoming inactive when then go to the background.

This commit is contained in:
Randall Luecke committed 2010-09-28 00:18:02 -04:00
1 parent a8d02f43e2
commit f21ec37531
1 file changed
+2 -1
+2 -1
View File
@@ -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];
}
}