# workspace: Handle double-click on pinned tab row empty space \(\#51592\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2b4901d8c36bb43e22253f3c65f472322ff85d41

Requested commit: 2b4901d8c36bb43e22253f3c65f472322ff85d41

Commit: 2b4901d8c36bb43e22253f3c65f472322ff85d41

Tree: 30bbbf893a785110b44af495b164c39fa1fd3f8c

Author: mgabor

Committer: GitHub

## Message

```
workspace: Handle double-click on pinned tab row empty space (#51592)

When `tab_bar.show_pinned_tabs_in_separate_row` is enabled,
double-clicking the empty space on the unpinned tab row creates a new
tab, but double-clicking the empty space on the pinned tab row does
nothing.

Add the same `on_click` double-click handler to the pinned tab bar drop
target so both rows behave consistently.

Release Notes:

- Fixed double-clicking empty space in the pinned tab row not opening a
new tab when `show_pinned_tabs_in_separate_row` is enabled.

---------

Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
```

## Parents

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

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