Skip to content

Commit

Permalink
expose xdg_decoration_manager in xdg_shell
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhbooth committed May 3, 2024
1 parent 3bed072 commit 95b9fed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shell/xdg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<zxdg_decoration_manager_v1::ZxdgDecorationManagerV1> {
&self.xdg_decoration_manager
}
}

/// A trivial wrapper for an [`xdg_positioner::XdgPositioner`].
Expand Down

0 comments on commit 95b9fed

Please sign in to comment.