Skip to content

Commit

Permalink
linux/wayland: fix the name of xdg-decoration manager
Browse files Browse the repository at this point in the history
With this change, it uses the native decoration provided by the
compositor itself
  • Loading branch information
hch12907 committed Sep 20, 2023
1 parent 65ed87d commit 789d8d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/native/linux_wayland.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 789d8d8

Please sign in to comment.