subsurface_widget: Use neagtive z to place below parent surface

Now uses `i32` for `z`.
This commit is contained in:
Ian Douglas Scott 2025-03-27 12:35:25 -07:00 • committed by Ashley Wulber
parent 02bd5d17ef
commit f04e237946
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 26 additions and 14 deletions

View file

@ -293,7 +293,7 @@ pub enum SubsurfaceEventVariant {
surface_id: SurfaceId,
common: Arc<Mutex<Common>>,
display: WlDisplay,
z: u32,
z: i32,
},
/// Destroyed
Destroyed(SubsurfaceInstance),