state: Move Xwayland state into shell
This commit is contained in:
parent
41a69cfc9f
commit
c09a735289
8 changed files with 21 additions and 13 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue