mac: Avoid sending "blur" event when closing window.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 24 Apr 2014 08:17:35 +0000 (16:17 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 24 Apr 2014 08:17:35 +0000 (16:17 +0800)
atom/browser/native_window_mac.mm

index 1162f0b..4bbff69 100644 (file)
@@ -210,7 +210,6 @@ void NativeWindowMac::Close() {
 }
 
 void NativeWindowMac::CloseImmediately() {
-  [window_ orderOut:nil];
   [window_ close];
 }