# Fix sluggish experience when dragging tabs · gitcafe/zed

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

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

Visibility: public

Requested revision: 00927db7115c9b11f118c9c14dcce785ea243cdd

Requested commit: 00927db7115c9b11f118c9c14dcce785ea243cdd

Commit: 00927db7115c9b11f118c9c14dcce785ea243cdd

Tree: deb8e4e960b23560f619840f3010485c3144e9c5

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Fix sluggish experience when dragging tabs

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 commit fixes the issue by automatically redrawing the window in gpui
when there is an active drag and the mouse moves.

```

## Parents

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

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