wlroots/types/seat
Kenny Levinsen 5e0ef70cc0 seat: Create inert objects for missing capabilities
We should throw a protocol error if the relevant capability has never
existed when get_(pointer|keyboard|touch) is called. Otherwise, it
should succeed, even if the capability is not currently present.

This follows the spec, and avoids possible races with the client when
capabilities are lost.

Closes: https://github.com/swaywm/wlroots/issues/2227
2020-05-28 09:53:50 +02:00
..
wlr_seat.c seat: Create inert objects for missing capabilities 2020-05-28 09:53:50 +02:00
wlr_seat_keyboard.c seat: Create inert objects for missing capabilities 2020-05-28 09:53:50 +02:00
wlr_seat_pointer.c seat: Create inert objects for missing capabilities 2020-05-28 09:53:50 +02:00
wlr_seat_touch.c seat: Create inert objects for missing capabilities 2020-05-28 09:53:50 +02:00