Implement native inhibition and acknowledged session-ending confirmation
This commit is contained in:
1 parent
cc441c049e
commit
29a71e9974
27 files changed
+1915
-142
No files matched your search
@@ -231,6 +231,8 @@ pub struct Ferese {
|
||||
pub socket_name: OsString,
|
||||
pub display_handle: DisplayHandle,
|
||||
pub loop_signal: LoopSignal,
|
||||
pub(crate) loop_handle: smithay::reexports::calloop::LoopHandle<'static, Self>,
|
||||
pub(crate) portal_session: crate::portal_session::PortalSession,
|
||||
pub space: Space<Window>,
|
||||
pub workspaces: WorkspaceSet,
|
||||
pub output_workspaces: OutputWorkspaceMap,
|
||||
@@ -259,6 +261,7 @@ pub struct Ferese {
|
||||
pub(crate) material_buffers: HashMap<WlSurface, crate::winit::MaterialBuffers>,
|
||||
pub(crate) portal_shortcuts: crate::portal_shortcuts::PortalShortcuts,
|
||||
pub(crate) pending_logout: Option<u32>,
|
||||
pub(crate) logout_query: Option<u32>,
|
||||
pub(crate) logout_owner: Option<smithay::reexports::wayland_server::backend::ObjectId>,
|
||||
pub(crate) blur_programs: HashMap<ErasedContextId, crate::winit::BlurProgram>,
|
||||
pub(crate) backdrop_generation: u64,
|
||||
@@ -448,6 +451,8 @@ impl Ferese {
|
||||
socket_name,
|
||||
display_handle,
|
||||
loop_signal: event_loop.get_signal(),
|
||||
loop_handle: event_loop.handle(),
|
||||
portal_session: Default::default(),
|
||||
space: Space::default(),
|
||||
workspaces: WorkspaceSet::new(
|
||||
config.layout_mode,
|
||||
@@ -483,6 +488,7 @@ impl Ferese {
|
||||
material_buffers: HashMap::new(),
|
||||
portal_shortcuts: crate::portal_shortcuts::PortalShortcuts::default(),
|
||||
pending_logout: None,
|
||||
logout_query: None,
|
||||
logout_owner: None,
|
||||
blur_programs: HashMap::new(),
|
||||
backdrop_generation: 0,
|
||||
|
||||
Reference in new issue
Block a user