# Fix left clicking the close button in the switcher \(\#25979\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f13b2fd811b904541662e0186ea38873e7587061

Requested commit: f13b2fd811b904541662e0186ea38873e7587061

Commit: f13b2fd811b904541662e0186ea38873e7587061

Tree: b35883be86c5ae52ce090df5edf9352305908f24

Author: Julia Ryan

Committer: GitHub

## Message

```
Fix left clicking the close button in the switcher (#25979)

The close button on each tab previously only worked when you right
clicked it, presumably because on macos people were using `ctrl+tab` to
open the picker, and clicking with `ctrl` held registers as a right
click. Now it should work with either mouse button.

Release Notes:

- N/A

Co-authored-by: Conrad <conrad@zed.dev>
```

## Parents

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

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