# Fix XI2 Scrolling Issue \(\#12603\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2b21c89e3cc39a37d42e29508defe3bd6a97d6fe

Requested commit: 2b21c89e3cc39a37d42e29508defe3bd6a97d6fe

Commit: 2b21c89e3cc39a37d42e29508defe3bd6a97d6fe

Tree: 8f1ed379f869e3744cf4f806858100b90c452766

Author: Owen Law

Committer: GitHub

## Message

```
Fix XI2 Scrolling Issue (#12603)

ref #11679
https://github.com/zed-industries/zed/pull/11235#issuecomment-2144727144

Filters leave events to ensure they are in the normal notify leave
events (not grab or ungrab)
([spec](https://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt)).
Confirmed to fix the issue @mrnugget was having.

Release Notes:

- linux: Fixed a regression that caused some X11 input devices being
unable to scroll.
```

## Parents

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

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