# pane: Another stab at focus flickers in tab bar · gitcafe/zed

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

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

Visibility: public

Requested revision: 0497b2f212b46efb9bb32876d0b3a02b24be7bbb

Requested commit: 0497b2f212b46efb9bb32876d0b3a02b24be7bbb

Commit: 0497b2f212b46efb9bb32876d0b3a02b24be7bbb

Tree: a234125712445374b9478cc67af642c7df26b2a4

Author: Piotr Osiewicz

Committer: Piotr Osiewicz

## Message

```
pane: Another stab at focus flickers in tab bar

This time around, we address the flicker seen in #3857 by querying the active item (that might've just been added),
as it knows whether it has focus even if the parent Pane does not.

Co-authored-by: Thorsten <thorsten@zed.dev>

```

## Parents

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

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