mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-28 20:39:50 +01:00
be8527bd36
All the code logic related to the pointer has been moved to its own file. The seat is responsible for the lifetime of its wlr_wl_pointer(s), and assigning them to the relevant wlr_wl_output. The wlr_wl_pointer becomes a simple helper to manager the wlr_pointer associated to the seat's wl_pointer and its lifetime.
29 lines
554 B
Meson
29 lines
554 B
Meson
wayland_client = dependency('wayland-client',
|
|
fallback: 'wayland',
|
|
default_options: wayland_project_options,
|
|
)
|
|
wlr_deps += wayland_client
|
|
|
|
wlr_files += files(
|
|
'backend.c',
|
|
'output.c',
|
|
'seat.c',
|
|
'pointer.c',
|
|
'tablet_v2.c',
|
|
)
|
|
|
|
client_protos = [
|
|
'drm',
|
|
'linux-dmabuf-unstable-v1',
|
|
'pointer-gestures-unstable-v1',
|
|
'presentation-time',
|
|
'relative-pointer-unstable-v1',
|
|
'tablet-unstable-v2',
|
|
'xdg-activation-v1',
|
|
'xdg-decoration-unstable-v1',
|
|
'xdg-shell',
|
|
]
|
|
|
|
foreach proto : client_protos
|
|
wlr_files += protocols_client_header[proto]
|
|
endforeach
|