# linux/x11: Fix CPU being pinned at 100% in X11 loop \(\#13458\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9ef9baef6f50c648b6a159feea9e73ece9137b33

Requested commit: 9ef9baef6f50c648b6a159feea9e73ece9137b33

Commit: 9ef9baef6f50c648b6a159feea9e73ece9137b33

Tree: 9016853a891895522476ee692d76d706e79a5584

Author: Thorsten Ball

Committer: GitHub

## Message

```
linux/x11: Fix CPU being pinned at 100% in X11 loop (#13458)

This was part of https://github.com/zed-industries/zed/pull/13355 to fix
the problem of XIM events not waking up the loop. Problem is that it
seems to pin a single CPU at 100%.

Luckily, it looks like the change is not necessary anymore after we
refactored the improvements in #13355.

This fixes https://github.com/zed-industries/zed/issues/13409.

Release Notes:

- N/A
```

## Parents

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

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