Factor out wlr_wl_seat in Wayland backend
Created by: ony
Note that this PR is based on 0.11.0
, because master
at the moment is crashing my sway for some reason.
current_pointer
Change in output to use This is just to bring in sync seat.c
(we propagate events to current_pointer
) and output.c
. Though we have at most one pointer at the moment, this may simplify some further work by dropping implicit assumption assert(!wl->current_pointer || wl->current_pointer->wl_pointer == wl->pointer)
that we already seems to have in seat.c
.
seat
/keyboard
/pointer
to group them under wlr_wl_seat
Re-factor managing Testing
WLR_WL_OUTPUTS=2 WLR_NO_HARDWARE_CURSORS=1 WLR_BACKENDS=wayland cage -s -D -- weston-terminal
Started under Sway (running system wlroots-0.11.0
) with single seat.