state: Move Xwayland state into shell

This commit is contained in:
Victoria Brekenfeld 2023-11-22 12:44:11 +01:00 committed by Victoria Brekenfeld
parent 41a69cfc9f
commit c09a735289
8 changed files with 21 additions and 13 deletions

View file

@ -20,6 +20,7 @@ impl SelectionHandler for State {
) {
if let Some(xwm) = self
.common
.shell
.xwayland_state
.as_mut()
.and_then(|xstate| xstate.xwm.as_mut())
@ -44,6 +45,7 @@ impl SelectionHandler for State {
) {
if let Some(xwm) = self
.common
.shell
.xwayland_state
.as_mut()
.and_then(|xstate| xstate.xwm.as_mut())