mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
8c69da11bb
Currently on master, swaynag will retrieve a pointer instance whenever the capabilities change and WL_SEAT_CAPBILITY_POINTER is set. The pointer instances were never being destroyed so swaynag received events multiple times due to having several instances of the pointer. This fixes it so if there is already a pointer instance, swaynag does not attempt to retrieve another. Additionally, if the pointer capability is removed, the pointer instance is destroyed. |
||
---|---|---|
.. | ||
config.c | ||
main.c | ||
meson.build | ||
render.c | ||
swaynag.1.scd | ||
swaynag.5.scd | ||
swaynag.c | ||
types.c |