chore: revert key -> main change in window delegate listener (#19213)

* chore: revert key -> main

* chore: comment out test that will fail

* more context on commented out test

* remove commented test
This commit is contained in:
Erick Zhao 2019-07-12 01:46:35 -07:00 committed by Cheng Zhao
parent 35294891ae
commit 9a42ddd2b8
2 changed files with 2 additions and 30 deletions

View file

@ -88,11 +88,11 @@ using TitleBarStyle = electron::NativeWindowMac::TitleBarStyle;
return frame;
}
- (void)windowDidBecomeKey:(NSNotification*)notification {
- (void)windowDidBecomeMain:(NSNotification*)notification {
shell_->NotifyWindowFocus();
}
- (void)windowDidResignKey:(NSNotification*)notification {
- (void)windowDidResignMain:(NSNotification*)notification {
shell_->NotifyWindowBlur();
}