diff --git a/crates/gpui/src/platform/linux/wayland/window.rs b/crates/gpui/src/platform/linux/wayland/window.rs index a0520f6b7056e5c1f5b5d3359fab92ec3b933a24..329b6c185fbfe9cbdc30d0b19c62825e680713f3 100644 --- a/crates/gpui/src/platform/linux/wayland/window.rs +++ b/crates/gpui/src/platform/linux/wayland/window.rs @@ -1046,8 +1046,8 @@ fn update_window(mut state: RefMut) { && state.decorations == WindowDecorations::Server { // Promise the compositor that this region of the window surface - // contains no transparent pixels. This allows the compositor to - // do skip whatever is behind the surface for better performance. + // contains no transparent pixels. This allows the compositor to skip + // updating whatever is behind the surface for better performance. state.surface.set_opaque_region(Some(®ion)); } else { state.surface.set_opaque_region(None); @@ -1057,7 +1057,6 @@ fn update_window(mut state: RefMut) { if state.background_appearance == WindowBackgroundAppearance::Blurred { if state.blur.is_none() { let blur = blur_manager.create(&state.surface, &state.globals.qh, ()); - blur.set_region(Some(®ion)); state.blur = Some(blur); } state.blur.as_ref().unwrap().commit();