* wayland: don't create a second event_queue As each EventsLoop has its own context, this is no longer necessary. * wayland: buffer events rather than direct dispatch Changes the behavior of the event loop to first internally buffer the events generated by the wayland handlers, and then dispatch them to the client's closure. - It simplifies the event loop logic - It makes it possible for the user to call window methods such as `set_title()` or `set_inner_size()` without causing a deadlock * wayland: add is_ready() & fix protocol errors Adds a `is_ready()` method to the windows to advertize when it is legal to start drawing, and fix a few wayland protocol mishandling in the process.
27 lines
1.3 KiB
Markdown
27 lines
1.3 KiB
Markdown
# Unreleased
|
|
|
|
- Uniformize keyboard scancode values accross Wayland and X11 (#297).
|
|
- Internal rework of the wayland event loop
|
|
- Added method `os::linux::WindowExt::is_ready`
|
|
|
|
# Version 0.8.1 (2017-09-22)
|
|
|
|
- Added various methods to `os::linux::EventsLoopExt`, plus some hidden items necessary to make
|
|
glutin work.
|
|
|
|
# Version 0.8.0 (2017-09-21)
|
|
|
|
- Added `Window::set_maximized`, `WindowAttributes::maximized` and `WindowBuilder::with_maximized`.
|
|
- Added `Window::set_fullscreen`.
|
|
- Changed `with_fullscreen` to take a `Option<MonitorId>` instead of a `MonitorId`.
|
|
- Removed `MonitorId::get_native_identifer()` in favor of platform-specific traits in the `os`
|
|
module.
|
|
- Changed `get_available_monitors()` and `get_primary_monitor()` to be methods of `EventsLoop`
|
|
instead of stand-alone methods.
|
|
- Changed `EventsLoop` to be tied to a specific X11 or Wayland connection.
|
|
- Added a `os::linux::EventsLoopExt` trait that makes it possible to configure the connection.
|
|
- Fixed the emscripten code, which now compiles.
|
|
- Changed the X11 fullscreen code to use `xrandr` instead of `xxf86vm`.
|
|
- Fixed the Wayland backend to produce `Refresh` event after window creation.
|
|
- Changed the `Suspended` event to be outside of `WindowEvent`.
|
|
- Fixed the X11 backend sometimes reporting the wrong virtual key (#273).
|