diff options
author | 2019-03-11 18:11:01 +1000 | |
---|---|---|
committer | 2019-03-11 14:55:54 +0100 | |
commit | 783b3d6b378db0bdf2a10bfa8a6787bd4b152a5a (patch) | |
tree | 39db69f2c7fa9bf601163ba2a17708a47a1560bf /swaybar/tray/item.c | |
parent | Don't send button events to surfaces when dragging or resizing (diff) | |
download | sway-783b3d6b378db0bdf2a10bfa8a6787bd4b152a5a.tar.gz sway-783b3d6b378db0bdf2a10bfa8a6787bd4b152a5a.tar.zst sway-783b3d6b378db0bdf2a10bfa8a6787bd4b152a5a.zip |
Fix click behaviour
By the time seatop_allows_events was called, seatop_impl was already
NULL, causing the function to always return false. This means a press
event was sent to clients without a corresponding release event.
This patch moves the call to seatop_finish to after the
seatop_allows_events check.
Diffstat (limited to 'swaybar/tray/item.c')
0 files changed, 0 insertions, 0 deletions