# workspace: Fix pane focus transfer when closing another pane \(\#23175\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/994bea00032df173e03f0388b714f95838eee1e2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 994bea00032df173e03f0388b714f95838eee1e2

Requested commit: 994bea00032df173e03f0388b714f95838eee1e2

Commit: 994bea00032df173e03f0388b714f95838eee1e2

Tree: ad595875d4ab7bd3063f8e254fab80dfa459b9af

Author: CharlesChen0823

Committer: GitHub

## Message

```
workspace: Fix pane focus transfer when closing another pane (#23175)

Closes #23123 

Only close current active_pane should move focus to other pane.

Release Notes:

- N/A
```

## Parents

- [6f7f0f30e280b0d896668b27b8be62b4c212f9c7](https://git.cafe/gitcafe/zed/commit/6f7f0f30e280b0d896668b27b8be62b4c212f9c7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/994bea00032df173e03f0388b714f95838eee1e2?format=markdown)
