spkp

Stacking wayland compositor
git clone git://git.z3bra.org/sp:kp.git
Log | Files | Refs

commit 79437cc17ee546a1c4f0215ac2f377b6cd2d8e71
parent 916113a022defbeb238b7f6e4ae2d34e71c8197e
Author: Willy Goiffon <dev@z3bra.org>
Date:   Mon,  9 Nov 2020 14:35:23 +0100

Fix seat capabilities settings

Diffstat:
Mcompositor.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/compositor.c b/compositor.c @@ -148,6 +148,8 @@ cb_new_input(struct wl_listener *listener, void *data) server = wl_container_of(listener, server, new_input); device = data; + cap = server->seat->capabilities; + switch(device->type) { case WLR_INPUT_DEVICE_KEYBOARD: cap |= WL_SEAT_CAPABILITY_KEYBOARD;