1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-28 07:58:22 +01:00
sway-patched-tray-menu/sway/input
Ryan Dwyer d16845d5f0 Don't send button events to surfaces when dragging or resizing
It turns out sending button events during all seat operations is not
desirable. This patch introduces a new property
`seatop_impl.allows_events` which allows each operation to define
whether button events should be passed to the surface or not.

The `down` seat operation is the only one that supports this. As all the
other seatops don't support it, the calls to seat_pointer_notify_button
prior to starting them have been removed.
2019-03-11 14:55:54 +01:00
..
cursor.c Don't send button events to surfaces when dragging or resizing 2019-03-11 14:55:54 +01:00
input-manager.c seat_cmd_cursor: do not create non-existing seat 2019-02-03 14:01:29 -05:00
keyboard.c Make raw keysyms take precedence over translated 2019-03-10 23:01:49 +01:00
seat.c Don't send button events to surfaces when dragging or resizing 2019-03-11 14:55:54 +01:00
seatop_down.c Don't send button events to surfaces when dragging or resizing 2019-03-11 14:55:54 +01:00
seatop_move_floating.c seat: don't send button release when not pressed 2019-02-28 23:02:06 -05:00
seatop_move_tiling.c seat: don't send button release when not pressed 2019-02-28 23:02:06 -05:00
seatop_resize_floating.c floating_maximum_size: change default behavior 2019-03-02 09:10:26 +01:00
seatop_resize_tiling.c seat: don't send button release when not pressed 2019-02-28 23:02:06 -05:00