iced/winit: Add surface id to OverlapNotify events

This commit is contained in:
Ian Douglas Scott 2025-09-18 14:30:00 -07:00 committed by Ashley Wulber
parent 49f1c2250b
commit 70b9736dc7
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 9 additions and 1 deletions

View file

@ -31,7 +31,7 @@ pub enum Event {
/// output event
Output(OutputEvent, WlOutput),
/// Overlap notify event
OverlapNotify(overlap_notify::OverlapNotifyEvent),
OverlapNotify(overlap_notify::OverlapNotifyEvent, WlSurface, Id),
/// window event
Window(WindowEvent),
/// Seat Event

View file

@ -1399,6 +1399,8 @@ impl SctkEvent {
toplevel,
logical_rect,
},
surface,
id.inner(),
),
),
),
@ -1415,6 +1417,8 @@ impl SctkEvent {
OverlapNotifyEvent::OverlapToplevelRemove {
toplevel,
},
surface,
id.inner(),
),
),
),
@ -1442,6 +1446,8 @@ impl SctkEvent {
layer,
logical_rect,
},
surface,
id.inner(),
),
),
),
@ -1461,6 +1467,8 @@ impl SctkEvent {
OverlapNotifyEvent::OverlapLayerRemove {
identifier,
},
surface,
id.inner(),
),
),
),