winit/wayland: Allow Vec for input_zone

This commit is contained in:
Ian Douglas Scott 2025-09-18 13:05:18 -07:00 committed by Ashley Wulber
parent 621713fe15
commit 20e60ffde6
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 20 additions and 16 deletions

View file

@ -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 {

View file

@ -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 {