swayfx/sway/input
Michael Weiser 0f11aa037a commands: Add per-view shortcuts_inhibitor command
Add a separate per-view shortcuts_inhibitor command that can be used
with criteria to override the per-seat defaults. This allows to e.g.
disable shortcuts inhibiting globally but enable it for specific,
known-good virtualization and remote desktop software or, alternatively,
to blacklist that one slightly broken piece of software that just
doesn't seem to get it right but insists on trying.

Add a flag to sway_view and handling logic in the input manager that
respects that flag if configured but falls back to per-seat config
otherwise. Add the actual command but with just enable and disable
subcommands since there's no value in duplicating the per-seat
activate/deactivate/toggle logic here. Split the inhibitor retrieval
helper in two so we can use the backend half in the command to retrieve
inhibitors for a specific surface and not just the currently focused
one. Extend the manual page with documentation of the command and
references to its per-seat sibling and usefulness with criteria.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
2020-05-13 21:22:16 -04:00
..
cursor.c Implement pointer simulation if client hasn't bound to touch 2020-05-13 14:29:15 -04:00
input-manager.c commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
keyboard.c input/keyboard: use wlr_keyboard_keymaps_match from wlroots 2020-05-08 17:48:43 -04:00
libinput.c input/libinput: typo fixes (get -> get_default) 2019-08-03 15:46:05 +02:00
seat.c commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
seatop_default.c input/tablet: simplify parameter plumbing for tablet references 2020-05-10 16:49:35 +02:00
seatop_down.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
seatop_move_floating.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
seatop_move_tiling.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
seatop_resize_floating.c Really fix floating window border resize problems 2020-05-13 11:07:31 +02:00
seatop_resize_tiling.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
switch.c Fix a use-after-free error in switch binding 2020-04-14 19:41:30 -04:00
tablet.c input/tablet: query tablet focused surface for cursor image check 2020-04-26 09:14:54 +02:00
text_input.c im: Fix crash when im destorying and no focused surface exists 2020-04-04 11:42:04 +02:00