workspace: Fix empty pane becomes unresponsive to keybindings after commit via terminal (#31905)

Closes #27579

This PR fixes issue where keybinding wouldn’t work in a pane after
focusing it from dock using the `ActivatePaneInDirection` action in
certain cases.


https://github.com/user-attachments/assets/9ceca580-a63f-4807-acff-29b61819f424

Release Notes:

- Fixed the issue where keybinding wouldn’t work in a pane after
focusing it from dock using the `ActivatePaneInDirection` action in
certain cases.
2ebe16a52fSmit Barmase committed on 6/2/2025, 4:22:35 PM· committed by GitHubparent1ed4647
1 file changedLine totals unavailable