aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-04-14 01:06:09 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-04-14 10:24:19 +0300
commit8c69da11bbe70caa2f5db1665e9d60387604c5e4 (patch)
tree3aa7bc628c8c3121ecff718b21faf49bf55cd9bb /common/util.c
parentFix scratchpad fullscreen behavior and crash (diff)
downloadsway-8c69da11bbe70caa2f5db1665e9d60387604c5e4.tar.gz
sway-8c69da11bbe70caa2f5db1665e9d60387604c5e4.tar.zst
sway-8c69da11bbe70caa2f5db1665e9d60387604c5e4.zip
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 'common/util.c')
0 files changed, 0 insertions, 0 deletions