subsurface_widget: Use neagtive z to place below parent surface
Now uses `i32` for `z`.
This commit is contained in:
parent
02bd5d17ef
commit
f04e237946
3 changed files with 26 additions and 14 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue