winit/wayland: Allow Vec for input_zone
This commit is contained in:
parent
621713fe15
commit
20e60ffde6
3 changed files with 20 additions and 16 deletions
|
|
@ -27,7 +27,7 @@ pub struct SctkPopupSettings {
|
|||
pub close_with_children: bool,
|
||||
/// input zone
|
||||
/// None results in accepting all input
|
||||
pub input_zone: Option<Rectangle>,
|
||||
pub input_zone: Option<Vec<Rectangle>>,
|
||||
}
|
||||
|
||||
impl Hash for SctkPopupSettings {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ pub struct SctkSubsurfaceSettings {
|
|||
|
||||
/// input zone
|
||||
/// None results in accepting all input
|
||||
pub input_zone: Option<Rectangle>,
|
||||
pub input_zone: Option<Vec<Rectangle>>,
|
||||
}
|
||||
|
||||
impl Hash for SctkSubsurfaceSettings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue