feat: add more protocols + touch support:

* add touch support (experimental)
* add support for wlr_cursor_shape_v1
* add support for wlr_relative_pointer_manager_v1
This commit is contained in:
DL
2025-07-29 15:33:19 +02:00
parent 0b738f4476
commit 0f31545ccd
11 changed files with 639 additions and 60 deletions

View File

@@ -33,6 +33,9 @@ wayland_targets=[]
wl_protocols = [
wl_protocol_dir / 'stable/xdg-shell/xdg-shell',
wl_protocol_dir / 'staging/cursor-shape/cursor-shape-v1',
# we don't really support tablet v2, it is here because of curosr-shape-v1 depends on it
wl_protocol_dir / 'stable/tablet/tablet-v2',
'protocol/wlr-layer-shell-unstable-v1',
'protocol/wlr-output-power-management-unstable-v1',
]
@@ -63,6 +66,7 @@ src = [
'layer.c',
'session.c',
'idle.c',
'touch.c',
wayland_targets
]