swayfx/include/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.h Implement pointer simulation if client hasn't bound to touch 2020-05-13 14:29:15 -04:00
input-manager.h input: Mark virtual devices as such 2020-04-14 12:07:24 +02:00
keyboard.h treewide: fix typos 2020-02-18 21:53:57 +01:00
libinput.h ipc: add input::libinput_config event 2019-07-23 20:45:46 +03:00
seat.h commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
switch.h cmd_bindswitch: add option to execute on reload 2019-07-09 10:00:57 +03:00
tablet.h input: Add support for tablet protocol. 2019-09-25 23:10:33 -04:00
text_input.h im: make text-input listeners per text-input 2020-04-04 11:42:04 +02:00