seat: add wlr_virtual_pointer_manager_v1

together with the previous patch, wayvnc can now be used with cage:
 $ cage something
 # figure out which wayland socket cage used
 $ WAYLAND_DISPLAY=wayland-0 wayvnc

Note this does not appear to work with headless backend, e.g. starting cage with
WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 cage something
does start and wayvnc connects/displays output, but there are tons of errors
and input does not work
This commit is contained in:
Dominique Martinet 2021-05-18 08:52:22 +09:00 committed by Dominique Martinet
parent b60a686d30
commit 5443d3f828
2 changed files with 19 additions and 0 deletions

2
seat.h
View file

@ -27,7 +27,9 @@ struct cg_seat {
// These belong to higher level if multiple seats are allowed
struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard;
struct wlr_virtual_pointer_manager_v1 *virtual_pointer;
struct wl_listener new_virtual_keyboard;
struct wl_listener new_virtual_pointer;
struct wlr_cursor *cursor;
struct wlr_xcursor_manager *xcursor_manager;