event_loop: add is_x11 and is_wayland on EventLoop

This commit is contained in:
Diggory Hardy 2024-05-26 14:38:10 +01:00 committed by GitHub
parent e108fa2fbf
commit 5ea20fc905
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 39 additions and 2 deletions

View file

@ -12,6 +12,7 @@ on how to add them:
### Added
- Add `Window::turbo()`, implemented on X11, Wayland, and Web.
- Add traits `EventLoopExtWayland` and `EventLoopExtX11`, providing methods `is_wayland` and `is_x11` on `EventLoop`.
- On X11, add `Window::some_rare_api`.
- On X11, add `Window::even_more_rare_api`.
- On Wayland, add `Window::common_api`.