https://github.com/christianrauch/wayland_window_decoration_example
Example Wayland client for demonstrating client side decorations
https://github.com/christianrauch/wayland_window_decoration_example
client-side-decoration csd egl wayland wayland-client
Last synced: 6 months ago
JSON representation
Example Wayland client for demonstrating client side decorations
- Host: GitHub
- URL: https://github.com/christianrauch/wayland_window_decoration_example
- Owner: christianrauch
- Created: 2018-04-22T17:57:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T10:26:55.000Z (over 2 years ago)
- Last Synced: 2024-12-06T21:23:26.660Z (over 1 year ago)
- Topics: client-side-decoration, csd, egl, wayland, wayland-client
- Language: C++
- Homepage:
- Size: 29.3 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wayland client side window decoration example
This example demonstrates how to use subsurfaces for adding client side window decorations to a Wayland surface. The shell interfaces `wl_shell` and `xdg_wm_base` are supported, whereas `xdg_wm_base` is selected by default if available.
The window decoration consists of:
- window boarders for resizing
- tragbar for moving the window
- buttons for closing, maximising and minimising
Build dependencies:
`sudo apt install libwayland-dev libegl1-mesa-dev wayland-protocols libwayland-bin extra-cmake-modules`