From 95b9fed114c6cb32f0a09ea2cc7e2a95bf7c1c8f Mon Sep 17 00:00:00 2001 From: Max Booth Date: Fri, 3 May 2024 21:07:17 +0000 Subject: [PATCH] expose xdg_decoration_manager in xdg_shell --- src/shell/xdg/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/shell/xdg/mod.rs b/src/shell/xdg/mod.rs index 5e5a07703..0bc4d5116 100644 --- a/src/shell/xdg/mod.rs +++ b/src/shell/xdg/mod.rs @@ -163,6 +163,12 @@ impl XdgShell { pub fn xdg_wm_base(&self) -> &xdg_wm_base::XdgWmBase { &self.xdg_wm_base } + + pub fn xdg_decoration_manager( + &self, + ) -> &GlobalProxy { + &self.xdg_decoration_manager + } } /// A trivial wrapper for an [`xdg_positioner::XdgPositioner`].