From 789d8d8b22efec816ee62f7f7fdefd5236fc4191 Mon Sep 17 00:00:00 2001 From: Hoe Hao Cheng Date: Thu, 21 Sep 2023 01:55:13 +0800 Subject: [PATCH] linux/wayland: fix the name of xdg-decoration manager With this change, it uses the native decoration provided by the compositor itself --- src/native/linux_wayland.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/native/linux_wayland.rs b/src/native/linux_wayland.rs index 16ed61d1..3f76fd9a 100644 --- a/src/native/linux_wayland.rs +++ b/src/native/linux_wayland.rs @@ -397,7 +397,8 @@ unsafe extern "C" fn registry_add_object( 1, ) as _; } - "zxdg_decoration_manager" => { + "zxdg_decoration_manager" | + "zxdg_decoration_manager_v1" => { display.decoration_manager = display.client.wl_registry_bind( registry, name,