feat: subsurfaces

This commit is contained in:
Ashley Wulber 2025-03-14 11:16:25 -04:00 committed by Ashley Wulber
parent 0f37c9922d
commit 93bc4bbd88
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
33 changed files with 1898 additions and 2651 deletions

View file

@ -14,6 +14,9 @@ pub mod popup;
/// session locks
pub mod session_lock;
// subsurfaces
pub mod subsurface;
/// Platform specific actions defined for wayland
pub enum Action {
/// LayerSurface Actions
@ -26,6 +29,8 @@ pub enum Action {
SessionLock(session_lock::Action),
/// Overlap Notify
OverlapNotify(Id, bool),
/// Subsurfaces
Subsurface(subsurface::Action),
}
impl Debug for Action {
@ -44,6 +49,9 @@ impl Debug for Action {
Action::OverlapNotify(id, _) => {
f.debug_tuple("OverlapNotify").field(id).finish()
}
Action::Subsurface(action) => {
f.debug_tuple("Subsurface").field(action).finish()
}
}
}
}