iced/winit: Add surface id to OverlapNotify events
This commit is contained in:
parent
49f1c2250b
commit
70b9736dc7
2 changed files with 9 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ pub enum Event {
|
||||||
/// output event
|
/// output event
|
||||||
Output(OutputEvent, WlOutput),
|
Output(OutputEvent, WlOutput),
|
||||||
/// Overlap notify event
|
/// Overlap notify event
|
||||||
OverlapNotify(overlap_notify::OverlapNotifyEvent),
|
OverlapNotify(overlap_notify::OverlapNotifyEvent, WlSurface, Id),
|
||||||
/// window event
|
/// window event
|
||||||
Window(WindowEvent),
|
Window(WindowEvent),
|
||||||
/// Seat Event
|
/// Seat Event
|
||||||
|
|
|
||||||
|
|
@ -1399,6 +1399,8 @@ impl SctkEvent {
|
||||||
toplevel,
|
toplevel,
|
||||||
logical_rect,
|
logical_rect,
|
||||||
},
|
},
|
||||||
|
surface,
|
||||||
|
id.inner(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -1415,6 +1417,8 @@ impl SctkEvent {
|
||||||
OverlapNotifyEvent::OverlapToplevelRemove {
|
OverlapNotifyEvent::OverlapToplevelRemove {
|
||||||
toplevel,
|
toplevel,
|
||||||
},
|
},
|
||||||
|
surface,
|
||||||
|
id.inner(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -1442,6 +1446,8 @@ impl SctkEvent {
|
||||||
layer,
|
layer,
|
||||||
logical_rect,
|
logical_rect,
|
||||||
},
|
},
|
||||||
|
surface,
|
||||||
|
id.inner(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -1461,6 +1467,8 @@ impl SctkEvent {
|
||||||
OverlapNotifyEvent::OverlapLayerRemove {
|
OverlapNotifyEvent::OverlapLayerRemove {
|
||||||
identifier,
|
identifier,
|
||||||
},
|
},
|
||||||
|
surface,
|
||||||
|
id.inner(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue