mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-30 20:07:36 +00:00
Refs #1654. Fix up missing bits.
This commit is contained in:
1 parent
e9bafa8f13
commit
d95268b548
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