sway/include/sway
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
..
desktop Implement inhibit_idle command 2019-03-24 19:26:12 -06:00
input commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
tree commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
commands.h commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
config.h Use bitshifts for bitfields 2020-04-10 18:08:46 -04:00
criteria.h Introduce pid criteria token 2020-02-27 14:03:22 +01:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
ipc-json.h Make json-c include respect pkg-config --cflags 2019-01-23 21:50:06 -05:00
ipc-server.h ipc: add an input event 2019-07-23 20:45:46 +03:00
layers.h Handle layer changes for layer shell surfaces 2019-10-27 11:07:18 -04:00
output.h Render layer shell popups over the top layer 2020-04-10 10:45:47 +02:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Add a secondary headless backend 2020-05-01 17:00:14 +02:00
surface.h view: add max_render_time 2019-11-17 20:18:42 +01:00
swaynag.h Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.h Improve CSD logic 2018-09-27 22:51:37 +10:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00