sway-patched-tray-menu/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.c Make sure we don't calculate fractional pixel gaps 2020-01-01 10:14:29 -07:00
container.c interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY 2020-04-20 09:26:37 +02:00
node.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
output.c output: fix updating output manager config 2020-02-16 09:42:22 +01:00
root.c Fix crash when showing scratchpad hidden split containers 2020-01-16 21:48:25 -05:00
view.c commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
workspace.c workspace_split: focus middle if workspace focused 2019-08-14 13:19:16 +09:00