mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-06-02 13:38:39 +03:00
macos: fix some split focus issues
This commit is contained in:
@ -305,7 +305,12 @@ extension Ghostty {
|
|||||||
container.topLeft.close()
|
container.topLeft.close()
|
||||||
node = container.bottomRight
|
node = container.bottomRight
|
||||||
|
|
||||||
Ghostty.moveFocus(to: node!.preferredFocus(), from: container.topLeft.preferredFocus())
|
DispatchQueue.main.async {
|
||||||
|
Ghostty.moveFocus(
|
||||||
|
to: container.bottomRight.preferredFocus(),
|
||||||
|
from: container.topLeft.preferredFocus()
|
||||||
|
)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -322,7 +327,12 @@ extension Ghostty {
|
|||||||
container.bottomRight.close()
|
container.bottomRight.close()
|
||||||
node = container.topLeft
|
node = container.topLeft
|
||||||
|
|
||||||
Ghostty.moveFocus(to: node!.preferredFocus(), from: container.bottomRight.preferredFocus())
|
DispatchQueue.main.async {
|
||||||
|
Ghostty.moveFocus(
|
||||||
|
to: container.topLeft.preferredFocus(),
|
||||||
|
from: container.bottomRight.preferredFocus()
|
||||||
|
)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user