mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user