Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

x11: Do not check hover state on properties change (#15518)

apricotbucket288e6af73784d6
diff --git a/crates/gpui/src/platform/linux/x11/window.rs b/crates/gpui/src/platform/linux/x11/window.rs
index b0f479c9bf9..b3c8ea7cc72 100644
--- a/crates/gpui/src/platform/linux/x11/window.rs
+++ b/crates/gpui/src/platform/linux/x11/window.rs
@@ -791,15 +791,6 @@ impl X11WindowStatePtr {
state.hidden = true;
}
}
-
- let hovered_window = self
- .xcb_connection
- .query_pointer(state.x_root_window)
- .unwrap()
- .reply()
- .unwrap()
- .child;
- self.set_hovered(hovered_window == self.x_window);
}
pub fn close(&self) {