swayfx/sway
Ryan Dwyer bdac0df4f8 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 07:51:22 -07:00
..
commands floating_maximum_size: change default behavior 2019-03-02 09:10:26 +01:00
config Fixes crash in spawn_swaybg (closes #3733) 2019-03-03 01:08:05 +01:00
desktop render_floating: skip fullscreen floaters 2019-03-03 09:25:10 +01:00
input Allow concurrent clicks 2019-03-04 07:51:22 -07:00
tree floating_maximum_size: change default behavior 2019-03-02 09:10:26 +01:00
commands.c execute_command: do not strip qoutes for cmd_mode 2019-02-26 08:06:50 +01:00
config.c add --i3 flag to hide_edge_borders 2019-02-24 15:26:37 -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-23 20:27:59 +01:00
ipc-server.c ipc_has_event_listeners: fix inverted check of subscribed_events 2019-02-06 15:16:48 +01:00
main.c Minor fix of code duplication. 2019-03-02 00:49:02 +01: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 wp-primary-selection-unstable-v1 2019-02-20 11:16:05 +01:00
sway-bar.5.scd swaybar: add overlay mode (fix #1620) 2019-02-24 20:05:47 -05:00
sway-input.5.scd sway-input.5: document wildcard and identifier troubleshooting 2019-02-16 23:50:37 +01:00
sway-ipc.7.scd sway-ipc.7: clarify window_rect omits decorations 2019-02-27 22:11:58 -05:00
sway-output.5.scd Add output dpms to manpage 2019-02-27 16:33:03 -05:00
sway.1.scd sway.1.scd: document environment vars set by sway 2019-03-03 18:47:32 +01:00
sway.5.scd floating_maximum_size: change default behavior 2019-03-02 09:10:26 +01: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-23 03:03:03 -05:00