aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-04-14 01:06:09 -0400
committerFurkan Sahin <furkan-dev@proton.me>2019-04-14 01:06:09 -0400
commitd5e2676d9f01789427ac8ec7c5b0320c18c6f7a8 (patch)
tree3aa7bc628c8c3121ecff718b21faf49bf55cd9bb /swaymsg
parente2618d21b671720b5ad7e4ad6806f9204501a2f3 (diff)
swaynag: fix pointer management
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.
Diffstat (limited to 'swaymsg')
0 files changed, 0 insertions, 0 deletions