# XI2 Smooth Scrolling for X11 \- Attempt 2 \(\#11110\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ec95605fec5f501e8b21784b6ac7b1978d43659d

Requested commit: ec95605fec5f501e8b21784b6ac7b1978d43659d

Commit: ec95605fec5f501e8b21784b6ac7b1978d43659d

Tree: ba096f30c62a8e9730b134bf2a6ca6ccad6ba738

Author: Owen Law

Committer: GitHub

## Message

```
XI2 Smooth Scrolling for X11 - Attempt 2 (#11110)

This should have fixed the problems that some users were reporting with
https://github.com/zed-industries/zed/pull/10695 .

The problem was with devices which send more than one valuator axis in a
single event whereas the original PR assumed there would only ever be
one axis per event. This version also does away with the complicated
device selection and instead just uses the master pointer device, which
automatically uses all sub-pointers.

Edit: Confirmed working for one of the user's which the first attempt
was broken for.

Release Notes:

- Added smooth scrolling for X11 on Linux
- Added horizontal scrolling for X11 on Linux
```

## Parents

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

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