diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2019-03-04 21:04:16 +1000 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-04 07:51:22 -0700 |
commit | bdac0df4f8fd1a816f0cfff8223d54d09823233b (patch) | |
tree | c177fda9b68126ca1011d3ea5f7b96c7a177b437 /README.md | |
parent | a053823f39c0ea72f3d3763e7c1e0f18ab9c4d61 (diff) |
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 'README.md')
0 files changed, 0 insertions, 0 deletions