diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-05-28 00:24:50 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-28 09:53:50 +0200 |
commit | 5e0ef70cc085666d0939aefdf403664c5cd268e5 (patch) | |
tree | aa3314beecf905a2f45b56a5ce33e2d6ff71662c /xcursor/wlr_xcursor.c | |
parent | d66b9966e9a7e5e48d07f55c2fe64b11d1d1d7a1 (diff) |
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
Diffstat (limited to 'xcursor/wlr_xcursor.c')
0 files changed, 0 insertions, 0 deletions