# Fix sluggish experience when dragging tabs \(\#3731\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ed5a9eb5521679d5492695f1ee42ad94feb7baf9

Requested commit: ed5a9eb5521679d5492695f1ee42ad94feb7baf9

Commit: ed5a9eb5521679d5492695f1ee42ad94feb7baf9

Tree: deb8e4e960b23560f619840f3010485c3144e9c5

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix sluggish experience when dragging tabs (#3731)

The problem was caused by a missing call to `WindowContext::notify` when
moving the mouse. Actually, we *did* notify as part of a
`MouseMoveEvent` listener registered in `Interactivity` but that code
path was never exercised because we were clearing the
`pending_mouse_down`.

This pull request fixes the issue by automatically redrawing the window
in gpui when there is an active drag and the mouse moves.

Release Notes:

- N/A
```

## Parents

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

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

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