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

@ -45,6 +45,7 @@ pub enum SurfaceIdWrapper {
Window(window::Id),
Popup(window::Id),
SessionLock(window::Id),
Subsurface(window::Id),
}
impl SurfaceIdWrapper {
pub fn inner(&self) -> window::Id {
@ -53,6 +54,7 @@ impl SurfaceIdWrapper {
SurfaceIdWrapper::Window(id) => *id,
SurfaceIdWrapper::Popup(id) => *id,
SurfaceIdWrapper::SessionLock(id) => *id,
SurfaceIdWrapper::Subsurface(id) => *id,
}
}
}