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.

gpui: Call `ack_configure` on throttled Wayland resize events (#49906)

Albab Hasan007aba89bfef
diff --git a/crates/gpui_linux/src/linux/wayland/window.rs b/crates/gpui_linux/src/linux/wayland/window.rs
index 71a4ee2ab50..001571d7f44 100644
--- a/crates/gpui_linux/src/linux/wayland/window.rs
+++ b/crates/gpui_linux/src/linux/wayland/window.rs
@@ -600,6 +600,7 @@ impl WaylandWindowStatePtr {
state.tiling = configure.tiling;
// Limit interactive resizes to once per vblank
if configure.resizing && state.resize_throttle {
+ state.surface_state.ack_configure(serial);
return;
} else if configure.resizing {
state.resize_throttle = true;