# linux/x11: Reduce input latency and ensure rerender priority \(\#13355\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f69c8ca74eb934f37d29cbe2f6ee31f94c7aaf63

Requested commit: f69c8ca74eb934f37d29cbe2f6ee31f94c7aaf63

Commit: f69c8ca74eb934f37d29cbe2f6ee31f94c7aaf63

Tree: 60102155328b5a987d5892ec970e770543ea1a9b

Author: Thorsten Ball

Committer: GitHub

## Message

```
linux/x11: Reduce input latency and ensure rerender priority (#13355)

This change ensures that we always render a window according to its
refresh rate, even if there are a lot of X11 events.

We're working around some limitations of `calloop`. In the future, we
think we should revisit how the event loop is implemented on X11, so
that we can ensure proper prioritization of input events vs. rendering.

Release Notes:

- N/A

Co-authored-by: Antonio <me@as-cii.com>
```

## Parents

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

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