Find a file
2023-10-19 12:48:25 -07:00
.github/workflows CI: optimize the jobs dependency graph 2023-09-28 14:17:44 +02:00
anvil Merge pull request #1173 from ids1024/pointer-grab 2023-10-19 10:09:30 +02:00
benches Use a thread-local for thread ID in UserDataMap::get 2023-05-17 16:00:57 -07:00
examples wayland: add wlr-data-control protocol 2023-10-02 15:55:00 +04:00
smallvil Add restore_focus argument to PointerInnerHandle::unset_grab 2023-10-18 16:56:34 -07:00
smithay-drm-extras Fix build of smithay-drm-extras example 2023-10-19 12:48:25 -07:00
src Merge pull request #1171 from ids1024/rustix-shm 2023-10-19 10:11:35 +02:00
wlcs_anvil Use rustix instead of nix 2023-10-16 19:51:31 -07:00
.gitignore Fix travis build with updated libinput 2017-12-15 19:22:40 +01:00
.rustfmt.toml Remove unstable rustfmt options 2018-04-17 17:48:20 +02:00
build.rs egl: add support for context priority 2023-09-17 12:12:23 +02:00
Cargo.toml Use rustix for shm_open/shm_close fallback 2023-10-18 14:01:45 -07:00
CHANGELOG.md wayland: allow to always send a configure event 2023-05-06 22:19:14 +02:00
clippy.toml ci: use stable for clippy check and specify msrv 2023-06-20 12:47:49 +02:00
compile_wlcs.sh compile_wlcs: Bump WLCS version 2023-06-21 10:06:37 -07:00
CONTRIBUTING.md fix-3-typos 2022-11-25 12:11:48 +01:00
doc_index.html travis: add a redirect doc homepage 2017-10-01 20:34:24 +02:00
LICENSE.txt Update names 2022-06-23 16:46:15 +00:00
README.md Remove 'Like others' 2023-09-24 19:04:53 +02:00
test_gbm_bo_create_with_modifiers2.c allocator/gbm: Allow customizing usage flags 2023-02-10 21:00:07 +01:00
test_gbm_bo_get_fd_for_plane.c gbm: detect gbm_bo_get_fd_for_plane 2022-10-03 09:54:07 +02:00

Smithay

Crates.io docs.rs Build Status Join the chat on matrix at #smithay:matrix.org Join the chat via bridge on #smithay on libera.chat

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 functionalities that pretty much any compositor will need, in a generic fashion.

It supports the core Wayland protocols, the official protocol extensions, and some external extensions, such as those made by and for wlroots and KDE

Also:

  • Documented: Smithay strives to maintain a clear and detailed documentation of its API and its functionalities. Compiled documentations are available on docs.rs for released versions, and here for the master branch.
  • 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).

Anvil

Smithay as a compositor library has its own sample compositor: anvil.

To get informations about it and how you can run it visit anvil README

Other compositors that use Smithay

  • Cosmic: Next generation Cosmic desktop environment
  • Catacomb: A Wayland Mobile Compositor
  • MagmaWM: A versatile and customizable Wayland Compositor
  • Niri: A scrollable-tiling Wayland compositor
  • Strata: A cutting-edge, robust and sleek Wayland compositor
  • Pinnacle: A WIP Wayland compositor, inspired by AwesomeWM
  • Sudbury: Compositor designed for ChromeOS

System Dependencies

(This list can depend of features you enable)

  • libwayland
  • libxkbcommon
  • libudev
  • libinput
  • libgbm
  • libseat
  • xwayland

Contact us

If you have questions or want to discuss the project with us, our main chatroom is on Matrix: #smithay:matrix.org.