smithay/examples
Drakulix b80674bdf5 Introduce SessionObserver
`DrmDevice` and `UdevBackend` now do not need to be wrapped into `StateToken`s anymore, but can return a separate `SessionObserver` object using the new `AsSessionObserver` trait.

This change was motivated by allowing the `UdevHandle` to obtain a mutable reference to an `EventLoopHandle` to create wayland object, e.g. a `wl_output` object.

Previously this was not possible.

Depends on https://github.com/Smithay/wayland-rs/pull/164
2018-02-21 14:24:20 +01:00
..
helpers Use new rustfmt-preview 2018-01-07 22:30:38 +01:00
resources Get input working 2017-11-29 22:28:14 +01:00
drm.rs Introduce SessionObserver 2018-02-21 14:24:20 +01:00
udev.rs Introduce SessionObserver 2018-02-21 14:24:20 +01:00
winit.rs Add event_loop to `InputBackend` and `InputHandler` traits 2018-01-12 16:41:33 +01:00