Go to file
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
examples Introduce SessionObserver 2018-02-21 14:24:20 +01:00
src Introduce SessionObserver 2018-02-21 14:24:20 +01:00
.gitignore Fix travis build with updated libinput 2017-12-15 19:22:40 +01:00
.rustfmt.toml First draft of compositor global. 2017-06-23 15:19:27 +02:00
.travis.yml Add new travis feature for logind 2018-02-20 19:19:22 +01:00
CHANGELOG.md Version 0.1.0 2017-10-01 23:11:01 +02:00
CONTRIBUTING.md Cargo.toml: include repo, update nix/image 2017-10-09 15:17:19 +02:00
Cargo.toml Introduce SessionObserver 2018-02-21 14:24:20 +01:00
LICENSE.txt Add MIT license 2017-03-24 10:24:07 +01:00
README.md Remove scary messages from README 2017-10-04 11:33:56 +02:00
build.rs Use new rustfmt-preview 2018-01-07 22:30:38 +01:00
doc_index.html travis: add a redirect doc homepage 2017-10-01 20:34:24 +02:00
matrix_badge.svg Add a few badges on the README 2017-10-04 11:30:07 +02:00
vagga.yaml fix vagga build 2018-02-20 19:19:22 +01:00

README.md

Smithay

Crates.io docs.rs Build Status Join the chat on matrix at @smithay:matrix.org Join the chat via bridge at https://gitter.im/smithay/Lobby

A smithy for rusty wayland compositors

Goals

Smithay aims to provide building blocks to create wayland compositors in Rust. While not being a full-blown compositor, it'll provide objects and interfaces implementing common functionnalities that pretty much any compositor will need, in a generic fashion.

Also:

  • Safety: Smithay will target to be safe to use, because Rust.
  • Modularity: Smithay is not a framework, and will not be constraining. If there is a part you don't want to use, you should not be forced to use it.
  • High-level: You should be able to not have to worry about gory low-level stuff (but Smithay won't stop you if you really want to dive into it).