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

@ -23,7 +23,7 @@ pub struct SctkSubsurfaceSettings {
pub size: Option<Size>,
// pub subsurface_view: Option<Arc<dyn Any + Send + Sync>>,
/// Z
pub z: u32,
pub z: i32,
/// Steal Keyboard focus from parent while open.
/// Will not work on a regular window.
pub steal_keyboard_focus: bool,