Commit Graph

801 Commits

Author SHA1 Message Date
Drakulix 40ef1236ea Update to released udev/libinput versions 2017-12-06 02:06:00 +01:00
Drakulix 71f107118f Make libinput backend work without the session feature 2017-12-03 22:44:45 +01:00
Drakulix ae5df5039d Fix drm example and tests 2017-12-03 22:33:21 +01:00
Drakulix 35b20450c5 Fixup patched drm-rs 2017-12-03 20:24:22 +01:00
Drakulix c5e66176c6 Document DirectSessionNotifier Id type 2017-12-02 17:09:34 +01:00
Drakulix bd83bc5b2d Restore drm state correctly 2017-12-02 17:07:52 +01:00
Drakulix 33286df0d6 Make it impossible to pass invalid `SessionObserver` ids.
- Add an associated type to the `SessionNotifier` trait for the returned Id's instead of using usize.
- Create a new Id type for the `DirectSessionNotifier`'s implementation, wrapping the previously used usize.
- Derive necessary traits of the new wrapper, make internal value inaccessible and Id's not publically constructable.
2017-12-02 14:24:39 +01:00
Drakulix 612436e42d Correctly scan for any encoders 2017-12-02 13:51:08 +01:00
Drakulix b5b5af9b99 Temporary build fix 2017-11-30 01:45:53 +01:00
Drakulix 13be5b1634 Add documentation 2017-11-29 22:28:14 +01:00
Drakulix 0350dca972 Automatically add udev backend to the event loop store 2017-11-29 22:28:14 +01:00
Drakulix ef2e0571e7 Swap session signal to usr2, because xwayland may use usr1 2017-11-29 22:28:14 +01:00
Drakulix ed04f2d293 Clarify comment 2017-11-29 22:28:14 +01:00
Drakulix b4be5a5786 Comment out logind integration for now 2017-11-29 22:28:14 +01:00
Drakulix 24f2d499f3 Add more logging to session 2017-11-29 22:28:14 +01:00
Drakulix 606efebe1b Remove unnecessary mutexes 2017-11-29 22:28:14 +01:00
Drakulix cd27436470 Use xkb for a nice shutdown command 2017-11-29 22:28:14 +01:00
Drakulix 96bb3570ba Get input working 2017-11-29 22:28:14 +01:00
Drakulix c7682e77de Udev backend 2017-11-29 22:28:13 +01:00
Victor Berger c31d966fd4 Upgrade wayland-server to 0.12 2017-11-03 17:31:51 +01:00
William W Wold 291ba17a5c added scroll events to pointer and winit demo 2017-10-15 16:29:29 +02:00
Demur Rumed 50aa38df72 Fix misc rustfmt nits 2017-10-09 15:17:19 +02:00
Demur Rumed ce844ba9f8 Cargo.toml: include repo, update nix/image 2017-10-09 15:17:19 +02:00
Victor Berger 5884162082 travis: ignore failures of apt-get update 2017-10-09 12:23:52 +02:00
Jonas Platte 4946017c0c Apply a bunch of clippy suggestions 2017-10-07 18:40:59 +02:00
Victor Berger b41cf9c4c3 travis: only deploy with FEATURES=all 2017-10-04 11:39:14 +02:00
Victor Berger dec28b8aad Remove scary messages from README 2017-10-04 11:33:56 +02:00
Victor Berger b3141ca2dc Add a few badges on the README 2017-10-04 11:30:07 +02:00
Victor Berger 047e1e11f6 travis: correct doc index location 2017-10-04 11:29:50 +02:00
Victor Berger 434c074a79 travis: use travis deploy instead of doc_upload.sh 2017-10-03 16:18:49 +02:00
Victor Berger dca932bbd3
Version 0.1.0 2017-10-01 23:11:01 +02:00
Victor Berger 8ee08ef6f2 wayland: document general behaviour of the client handlers 2017-10-01 22:47:30 +02:00
Victor Berger 8934bf19dc examples: add output to winit example 2017-10-01 22:47:30 +02:00
Victor Berger 249ae98e0f Fix invalid drop in SHM doc test
Allowing the display to be dropped this early destroys the whole wayland
context before we start using it... bad idea.
2017-10-01 22:47:30 +02:00
Victor Berger 9e809f85dd wayland: output global 2017-10-01 22:47:30 +02:00
Drakulix 51886fbf00 Update to stable drm-rs version 2017-10-01 22:25:52 +02:00
Victor Berger b6a2fe7748 travis: add a redirect doc homepage 2017-10-01 20:34:24 +02:00
Victor Berger 2fbb45273f cargo fmt 2017-09-30 12:05:28 +02:00
Victor Berger 30efcea2ee travis: test various features combination 2017-09-30 12:05:28 +02:00
Victor Berger 15ce7134fc Move wayland utilities to their own module. 2017-09-29 17:24:20 +02:00
Victor Berger 262eaa8883 travis: remove travis-cargo 2017-09-29 17:22:19 +02:00
Victor Berger 5a0713feb9 Fix winit backend on wayland
We were trying to swap_buffers while the xdg_surface had not been
configured yet, which is a protocol error.
2017-09-29 17:22:19 +02:00
Victor Berger 502a99c5f9 Remove debug printlns 2017-09-29 17:22:19 +02:00
Victor Berger ec4a9a0578 Merge pull request #39 from vberger/seat_global
Global handler for seat
2017-09-23 19:15:58 +02:00
Victor Berger 31f39ed61a seat: increase logger metadata 2017-09-23 18:31:39 +02:00
Victor Berger 8251fe0623 travis: actually, we need to rebuild rustfmt
Every nightly update breaks the cached version.
2017-09-22 18:56:31 +02:00
Victor Berger da3983856b fix examples 2017-09-22 18:49:58 +02:00
Victor Berger 532cb6b78e seat: doc & warnings & fmt & cleanup methods 2017-09-22 18:42:52 +02:00
Victor Berger 4b01b55f75 seat.keyboard: fix sym peek with +8 offset 2017-09-22 15:03:23 +02:00
Victor Berger cfb388561f examples: reduce warnings 2017-09-22 15:00:29 +02:00