Fix new window focus when quick terminal is open
parent
3423cfdc71
commit
3a7fb03ef9
|
|
@ -95,11 +95,8 @@ class TerminalManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If our app isn't active, we make it active. All new_window actions
|
// All new_window actions force our app to be active.
|
||||||
// force our app to be active.
|
NSApp.activate(ignoringOtherApps: true)
|
||||||
if !NSApp.isActive {
|
|
||||||
NSApp.activate(ignoringOtherApps: true)
|
|
||||||
}
|
|
||||||
|
|
||||||
// We're dispatching this async because otherwise the lastCascadePoint doesn't
|
// We're dispatching this async because otherwise the lastCascadePoint doesn't
|
||||||
// take effect. Our best theory is there is some next-event-loop-tick logic
|
// take effect. Our best theory is there is some next-event-loop-tick logic
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue