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

@ -54,6 +54,7 @@ use crate::{
},
},
},
xwayland::XWaylandState,
};
pub mod element;
@ -188,6 +189,7 @@ pub struct Shell {
pub xdg_shell_state: XdgShellState,
pub xdg_activation_state: XdgActivationState,
pub workspace_state: WorkspaceState<State>,
pub xwayland_state: Option<XWaylandState>,
theme: cosmic::Theme,
overview_mode: OverviewMode,
@ -1022,6 +1024,7 @@ impl Shell {
xdg_shell_state,
xdg_activation_state,
workspace_state,
xwayland_state: None,
theme,
overview_mode: OverviewMode::None,