[client] wayland: implement warping through pointer-warp-v1 protocol

This commit is contained in:
Quantum
2026-08-08 14:57:45 -04:00
committed by Geoffrey McRae
parent e2be90e264
commit 25328ec5ba
4 changed files with 40 additions and 17 deletions

View File

@@ -80,6 +80,9 @@ static void registryGlobalHandler(void * data, struct wl_registry * registry,
else if (!strcmp(interface, xdg_toplevel_icon_manager_v1_interface.name))
wlWm.iconManager = wl_registry_bind(wlWm.registry, name,
&xdg_toplevel_icon_manager_v1_interface, 1);
else if (!strcmp(interface, wp_pointer_warp_v1_interface.name))
wlWm.pointerWarpper = wl_registry_bind(wlWm.registry, name,
&wp_pointer_warp_v1_interface, 1);
else if (wlWm.desktop->registryGlobalHandler(
data, registry, name, interface, version))
return;