aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-03-04 21:04:16 +1000
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-03-04 12:50:47 -0500
commit0c1605784de3385ecd143fd26d17fac8cfea9b43 (patch)
treed4c4dc0ebdf1e9406991549ad72e5dbd3fa0a5b3 /meson.build
parentsway.1.scd: document environment vars set by sway (diff)
downloadsway-0c1605784de3385ecd143fd26d17fac8cfea9b43.tar.gz
sway-0c1605784de3385ecd143fd26d17fac8cfea9b43.tar.zst
sway-0c1605784de3385ecd143fd26d17fac8cfea9b43.zip
Allow concurrent clicks
If two cursor buttons are pressed at the same time, the client will now be notified of the second button press. The main reason for not sending the concurrent presses was due to an early return in dispatch_cursor_button if a seatop is in progress. This patch makes it call seat_pointer_notify_button prior to returning. But it also has to make sure there's not a mismatch in events such as a release without a press. Prior to this patch, the down seatop would send press and release events in its begin and finish functions. No other seatops did this. A press event would be sent prior to starting tiling drag, but never an associated release. After this patch, no seatops send their own press or release events. We send them prior to calling the seatop begin functions, then the first part of dispatch_cursor_button handles all presses during seatops and when releasing the seatop.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions