From 2ef4bef4ac06b33ca22963b212d8ecb0334666e9 Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Thu, 16 Jul 2026 10:25:32 +0200 Subject: [PATCH] wayland: Update blur surface on window resize (#7939) ref: #7937 --- docs/changelog.md | 2 +- window/src/os/wayland/window.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index e6a7013e2..4ec72ca8b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -130,7 +130,7 @@ As features stabilize some brief notes about them will accumulate here. control over cell widths. Thanks to @hamano! #6289 #6290 * [wayland_window_background_blur](config/lua/config/wayland_window_background_blur.md) option to enable window blur on Wayland compositors supporting the `ext-background-effect-v1` protocol. - Thanks to @psomani16k, @1Capito1 & @bew! #6905 #7615 + Thanks to @psomani16k, @1Capito1 & @bew! #6905 #7615 #7939 * [reverse_video_cursor_min_contrast](config/lua/config/reverse_video_cursor_min_contrast.md) option. Thanks to @jameshurst! #6584 ?2861 * [text_min_contrast_ratio](config/lua/config/text_min_contrast_ratio.md) to more generally diff --git a/window/src/os/wayland/window.rs b/window/src/os/wayland/window.rs index 17f0f0e5e..c0b37d064 100644 --- a/window/src/os/wayland/window.rs +++ b/window/src/os/wayland/window.rs @@ -969,6 +969,7 @@ impl WaylandWindowInner { self.surface_factor = factor; } } + self.update_window_background_blur(); } self.do_paint().unwrap(); } @@ -1335,6 +1336,7 @@ impl WaylandWindowInner { surface }); + // Set/Update region for the blur surface let region: WlRegion = wayland_state .compositor .wl_compositor() -- 2.51.2