mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-24 00:58:53 +00:00
Merge branch 'master' into slevenbits
This commit is contained in:
commit
b7ee0fe44d
1 file changed
+8
@@ -1779,6 +1779,8 @@ CPTexturedBackgroundWindowMask
|
||||
|
||||
[self _setupFirstResponder:nil];
|
||||
|
||||
[_windowView noteKeyWindowStateChanged];
|
||||
|
||||
[[CPNotificationCenter defaultCenter]
|
||||
postNotificationName:CPWindowDidBecomeKeyNotification
|
||||
object:self];
|
||||
@@ -1836,6 +1838,8 @@ CPTexturedBackgroundWindowMask
|
||||
if (CPApp._keyWindow === self)
|
||||
CPApp._keyWindow = nil;
|
||||
|
||||
[_windowView noteKeyWindowStateChanged];
|
||||
|
||||
[[CPNotificationCenter defaultCenter]
|
||||
postNotificationName:CPWindowDidResignKeyNotification
|
||||
object:self];
|
||||
@@ -2181,6 +2185,8 @@ CPTexturedBackgroundWindowMask
|
||||
[self _synchronizeMenuBarTitleWithWindowTitle];
|
||||
[self _synchronizeSaveMenuWithDocumentSaving];
|
||||
|
||||
[_windowView noteMainWindowStateChanged];
|
||||
|
||||
[[CPNotificationCenter defaultCenter]
|
||||
postNotificationName:CPWindowDidBecomeMainNotification
|
||||
object:self];
|
||||
@@ -2197,6 +2203,8 @@ CPTexturedBackgroundWindowMask
|
||||
|
||||
if (CPApp._mainWindow === self)
|
||||
CPApp._mainWindow = nil;
|
||||
|
||||
[_windowView noteMainWindowStateChanged];
|
||||
}
|
||||
|
||||
- (void)_updateMainAndKeyWindows
|
||||
|
||||
Reference in new issue
Block a user