Drakulix
4a2658090b
Code formatting
2018-02-21 14:24:37 +01:00
Drakulix
5d66f8fdb3
Give EventLoopHandle to DrmHandler
2018-02-21 14:24:20 +01:00
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
Victor Brekenfeld
bdd8770ba6
Merge pull request #75 from Smithay/upgrade/gl_generator
...
Update gl_generator
2018-02-21 14:23:45 +01:00
Drakulix
0ad723a71b
Allow `DrmBackend` to act as `drm::control::Device`
2018-02-21 13:31:05 +01:00
Drakulix
b012cb6404
Update gl_generator
2018-02-21 12:00:57 +01:00
Drakulix
cbee540013
Reexport ModifiersState to make it publically accessible
2018-02-21 07:48:54 +01:00
Victor Brekenfeld
5b9eeb537a
Merge pull request #74 from Smithay/fix/example_vt_all
...
udev example: handle all 12 vt switches
2018-02-21 01:43:55 +01:00
Victor Berger
6560e413c0
udev example: handle all 12 vt switches
2018-02-21 00:01:19 +01:00
Victor Brekenfeld
9058f37a6a
Merge pull request #63 from Smithay/feature/logind
...
Logind session
2018-02-20 22:03:05 +01:00
Drakulix
2294e79814
Reset drm device into text mode on tty switch
2018-02-20 19:19:22 +01:00
Drakulix
5725d1bb34
Remove broken ctrlc helper
2018-02-20 19:19:22 +01:00
Drakulix
e3113caa72
Add new travis feature for logind
2018-02-20 19:19:22 +01:00
Drakulix
2017d8cd16
use systemd crates.io release
2018-02-20 19:19:22 +01:00
Drakulix
1d042d04e1
fix vagga build
2018-02-20 19:19:22 +01:00
Drakulix
525c9b60c4
rustfmt
2018-02-20 19:19:22 +01:00
Drakulix
20e10612b9
Add documentation for logind/auto session
2018-02-20 19:19:22 +01:00
Drakulix
4501ca5fe1
Fix weston-terminal spawn in example
2018-02-20 19:19:22 +01:00
Drakulix
310bc94a20
Fix disappearing cursor after tty switch
2018-02-20 19:19:22 +01:00
Drakulix
5411209bb5
Fix libinput panic on tty switch
2018-02-20 19:19:22 +01:00
Drakulix
495c492e50
Fix trying to become drm master on logind session
2018-02-20 19:19:22 +01:00
Drakulix
11c9f2b0fb
Make udev example use new auto session
2018-02-20 19:19:22 +01:00
Drakulix
a768e298f2
Add auto backend
2018-02-20 19:19:22 +01:00
Drakulix
b16c62b19f
Add logind session
2018-02-20 19:19:22 +01:00
Drakulix
4971278a25
Remove unused type parameter
2018-02-20 19:19:22 +01:00
Victor Berger
036633541a
Remove trailing code fence in documentation
2018-02-20 19:08:23 +01:00
Victor Brekenfeld
7df2cf4cd1
Merge pull request #70 from Smithay/feature/seat_name
...
Add names to backend seats
2018-02-19 19:41:37 +01:00
Drakulix
ef0cfb9f2c
Add names to backend seats
2018-02-19 12:49:55 +01:00
Victor Brekenfeld
00329824d2
Merge pull request #65 from Smithay/feature/winit_handler
...
Winit handler
2018-02-19 11:16:38 +01:00
Drakulix
d3a454ad72
Add winit events handler
2018-02-18 23:42:33 +01:00
Drakulix
b53ff34aab
Add option to access underlying window
2018-02-18 23:42:02 +01:00
Victor Brekenfeld
63aa7f8474
Merge pull request #67 from Smithay/drm/get_current_mode
...
Add getter for current `DrmBackend` mode
2018-02-18 23:40:30 +01:00
Drakulix
8a30689015
Add getter for current `DrmBackend` mode
2018-02-18 22:04:13 +01:00
Victor Brekenfeld
3f99cdc76f
Merge pull request #71 from Smithay/feature/evlh_wayland
...
Don't required EventLoop for wayland object creation
2018-02-18 20:35:23 +01:00
Drakulix
a0b6e2c916
Don't required EventLoop for wayland object creation
2018-02-15 16:17:12 +01:00
Victor Berger
88617153b9
Travis: fix deploy
2018-01-14 15:44:02 +01:00
Victor Berger
f2751c824f
wayland.shell: fix memory corruption in wl_shell
...
Invalid data was set as user data for wl_shell_surface, causing
access to invalid memory at drop time.
Fixes #60
2018-01-14 13:50:39 +01:00
Victor Brekenfeld
05418c118f
Merge pull request #61 from Smithay/feature/input_eventloop
...
Add EventLoopHandle to `InputBackend` and `InputHandler` traits
2018-01-13 18:12:45 +01:00
Drakulix
a9c75656a2
Add event_loop to `InputBackend` and `InputHandler` traits
2018-01-12 16:41:33 +01:00
Victor Berger
b483add6a5
Merge pull request #57 from Smithay/feature/egl_buffer
...
Feature: EGL Buffer support / Fix #12
2018-01-10 14:45:42 +01:00
Drakulix
32f48b3cd2
Fix some clippy lints
2018-01-09 14:12:31 +01:00
Drakulix
e76affbc66
Try to fix rustfmt-preview on nightly vagga container
2018-01-09 13:12:03 +01:00
Drakulix
b125ce8005
Fix backend_drm feature
2018-01-07 23:44:21 +01:00
Drakulix
66c011c942
Use new rustfmt-preview
2018-01-07 22:30:38 +01:00
Drakulix
25c1e30fb3
Fix drm doc-test for new egl buffer changes
2018-01-07 22:12:34 +01:00
Drakulix
aaa68b1cce
Add documentation for the egl buffer features
2018-01-07 22:12:14 +01:00
Drakulix
efaadb8882
Fix a bunch of warnings
2018-01-07 20:24:40 +01:00
Drakulix
b2ee62bebf
Use stable gbm.rs
2018-01-07 20:23:29 +01:00
Drakulix
c5f475ebb5
Make unbind_egl_display into Drop implementation for EGLDisplay
2018-01-07 13:02:26 +01:00
Drakulix
6b650eb988
Remove unneeded Send implementation
2018-01-07 12:43:41 +01:00