Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
linux/x11: Fix CPU being pinned at 100% in X11 loop (#13458)
Thorsten Ball9ef9baef6f50
diff --git a/crates/gpui/src/platform/linux/x11/client.rs b/crates/gpui/src/platform/linux/x11/client.rsindex cbae79a8d26..bde4dfb4fa0 100644--- a/crates/gpui/src/platform/linux/x11/client.rs+++ b/crates/gpui/src/platform/linux/x11/client.rs@@ -291,7 +291,7 @@ impl X11Client {.insert_source(Generic::new_with_error::<EventHandlerError>(fd,- calloop::Interest::BOTH,+ calloop::Interest::READ,calloop::Mode::Level,),{