implement the virtual pointer protocol #574

Manually merged
sevz merged 1 commit from guidocella/dwl:virtual-pointer into main 2024-01-25 18:14:00 +01:00
Member

This is used by programs like warpd.

warpd 1.3.5 or wl-kbptr don't work and I don't understand what is missing, but at least warpd-git is fixed. If hyprland fixes them we can copy their solution, see https://github.com/hyprwm/Hyprland/issues/2522 github.com/rvaiya/warpd@110d03a8c7 https://github.com/hyprwm/Hyprland/issues/3360

This is used by programs like warpd. warpd 1.3.5 or wl-kbptr don't work and I don't understand what is missing, but at least warpd-git is fixed. If hyprland fixes them we can copy their solution, see https://github.com/hyprwm/Hyprland/issues/2522 https://github.com/rvaiya/warpd/commit/110d03a8c73bf588546a302e64a47863d3ffc47a https://github.com/hyprwm/Hyprland/issues/3360
dwl.c Outdated
@ -2327,2 +2329,4 @@
virtual_keyboard_mgr = wlr_virtual_keyboard_manager_v1_create(dpy);
LISTEN_STATIC(&virtual_keyboard_mgr->events.new_virtual_keyboard, virtualkeyboard);
LISTEN_STATIC(&wlr_virtual_pointer_manager_v1_create(dpy)->events.new_virtual_pointer,
Owner

For consistency, let's create a variable virtual_pointer_mgr

For consistency, let's create a variable `virtual_pointer_mgr`
guidocella force-pushed virtual-pointer from 1332875622 to b197b71aa5 2024-01-24 22:48:09 +01:00 Compare
sevz manually merged commit ac6074f4fd into main 2024-01-25 18:14:00 +01:00
Owner

Thanks!

Thanks!
guidocella deleted branch virtual-pointer 2024-01-25 18:55:15 +01:00
Sign in to join this conversation.
No description provided.