Update wayland-window to support xdg_shell
This commit is contained in:
parent
28eddb64a9
commit
8d5b23d56c
5 changed files with 147 additions and 68 deletions
|
|
@ -155,6 +155,15 @@ impl EventsLoop {
|
|||
}
|
||||
);
|
||||
}
|
||||
if decorated.handler().as_ref().map(|h| h.is_closed()).unwrap_or(false) {
|
||||
callback(
|
||||
::Event::WindowEvent {
|
||||
window_id: ::WindowId(::platform::WindowId::Wayland(make_wid(&window))),
|
||||
event: ::WindowEvent::Closed
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue