subsurface_widget: Sort parent WlSurface, not ObjectId
This commit is contained in:
parent
9f07d15617
commit
02bd5d17ef
5 changed files with 18 additions and 19 deletions
|
|
@ -132,7 +132,7 @@ impl SctkEventLoop {
|
|||
.enumerate()
|
||||
.filter_map(|(i, s)| {
|
||||
(winit::window::WindowId::from_raw(
|
||||
s.instance.parent.as_ptr()
|
||||
s.instance.parent.id().as_ptr()
|
||||
as usize,
|
||||
) == w.window.id())
|
||||
.then_some(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue