sway/include/sway/tree
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
..
arrange.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
container.h Fix crash when showing scratchpad hidden split containers 2020-01-16 21:48:25 -05:00
node.h Sanity check gaps between tiled containers 2019-07-15 23:46:27 -04:00
root.h view: remove workspace pid mapping for assigns 2020-01-09 09:52:37 +01:00
view.h commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
workspace.h Add workspace {prev,next}_on_output --create 2019-02-17 11:50:07 -05:00