terminal: Properly apply focus when switching terminal via tabbing hotkey (#53127) (cherry-pick to preview) (#53618)
zed-zippy[bot]
and
Andre Roelofs
created
Cherry-pick of #53127 to preview
----
Self-Review Checklist:
- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
Closes #53056.
Release Notes:
- Fixed terminal tabs losing keyboard focus after switching tabs on
Linux X11
Co-authored-by: Andre Roelofs <p.arroelofs@gmail.com>