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
This commit is contained in:
parent
d2a2faf7a2
commit
9ef9baef6f
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ impl X11Client {
|
|||
.insert_source(
|
||||
Generic::new_with_error::<EventHandlerError>(
|
||||
fd,
|
||||
calloop::Interest::BOTH,
|
||||
calloop::Interest::READ,
|
||||
calloop::Mode::Level,
|
||||
),
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue