Skip to content

seat: Create inert objects for missing capabilities

Kenny Levinsen requested to merge github/fork/kennylevinsen/seat_capability into master

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

Merge request reports