sway/sway
Ryan Dwyer 0c1605784d 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.
2019-03-04 12:50:47 -05:00
..
commands floating_maximum_size: change default behavior 2019-03-04 12:50:47 -05:00
config Fixes crash in spawn_swaybg (closes #3733) 2019-03-04 12:50:47 -05:00
desktop render_floating: skip fullscreen floaters 2019-03-04 12:50:47 -05:00
input Allow concurrent clicks 2019-03-04 12:50:47 -05:00
tree floating_maximum_size: change default behavior 2019-03-04 12:50:47 -05:00
commands.c execute_command: do not strip qoutes for cmd_mode 2019-03-04 12:50:27 -05:00
config.c Make load_include_configs void. Fix some cases where WD would not be restored. 2019-02-25 17:10:04 -05:00
criteria.c Revert "Add some missing frees." 2019-02-01 11:51:03 +00:00
debug-tree.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c ipc: add missing fields to disabled outputs 2019-02-25 17:10:04 -05:00
ipc-server.c ipc_has_event_listeners: fix inverted check of subscribed_events 2019-02-11 10:22:53 -05:00
main.c Minor fix of code duplication. 2019-03-04 12:50:47 -05:00
meson.build pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add relative pointer 2019-01-30 19:53:59 +01:00
sway-bar.5.scd Updates for scdoc 1.8.1 2019-01-31 08:42:29 -05:00
sway-input.5.scd sway-input.5: document wildcard and identifier troubleshooting 2019-02-18 15:11:48 -05:00
sway-ipc.7.scd sway-ipc.7: clarify window_rect omits decorations 2019-03-04 12:50:47 -05:00
sway-output.5.scd Add output dpms to manpage 2019-03-04 12:50:47 -05:00
sway.1.scd sway.1.scd: document environment vars set by sway 2019-03-04 12:50:47 -05:00
sway.5.scd floating_maximum_size: change default behavior 2019-03-04 12:50:47 -05:00
swaynag.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
xdg_decoration.c view: set xdg_decoration->view to NULL, check decoration destroy 2019-02-25 17:10:04 -05:00