winit/wayland: input_zone for layer, instead of pointer_interactivity
This is a more general version of the same thing, at matches what is used for popups and subsurfaces.
This commit is contained in:
parent
20e60ffde6
commit
ea4f704f0f
3 changed files with 16 additions and 6 deletions
|
|
@ -98,7 +98,7 @@ impl Todos {
|
|||
get_layer_surface(iced::platform_specific::runtime::wayland::layer_surface::SctkLayerSurfaceSettings {
|
||||
id: id.clone(),
|
||||
size: Some((None, Some(500))),
|
||||
pointer_interactivity: true,
|
||||
input_zone: None,
|
||||
keyboard_interactivity: cctk::sctk::shell::wlr_layer::KeyboardInteractivity::OnDemand,
|
||||
anchor: Anchor::LEFT.union(Anchor::RIGHT).union(Anchor::TOP),
|
||||
..Default::default()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue