sway/include
Michael Weiser eeac0aa170 input: Add support for keyboard shortcuts inhibit
Adding support for the keyboard shortcuts inhibit protocol allows remote
desktop and virtualisation software to receive all keyboard input in
order to pass it through to their clients so users can fully interact
the their remote/virtual session. The software usually provides its own
key combination to release its "grab" to all keyboard input. The
inhibitor can be deactivated by the user by removing focus from the
surface using another input device such as the pointer.

Use support for the procotol in wlroots to add support to sway. Extend
the input manager with handlers for inhibitor creation and destruction
and appropriate bookkeeping. Attach the inhibitors to the seats they
apply to to avoid having to search the list of all currently existing
inhibitors on every keystroke and passing the inhibitor manager around.
Add a helper function to retrieve the inhibitor applying to the
currently focused surface of a seat, if one exists.

Extend bindsym with a flag for bindings that should be processed even if
an inhibitor is active. Conversely this disables all normal shortcuts if
an inhibitor is found for the currently focused surface in
keyboard::handle_key_event() since they don't have that flag set. Use
above helper function to determine if an inhibitor exists for the
surface that would eventually receive input.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
2020-03-11 23:51:37 -04:00
..
sway input: Add support for keyboard shortcuts inhibit 2020-03-11 23:51:37 -04:00
swaybar swaybar: fix i3bar relative coordinates when scaling is used 2020-02-10 18:58:09 +01:00
swaynag swaynag: Add multi-seat support 2020-01-05 19:57:05 +01:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.h swaymsg: add timeout and type checks 2019-04-17 09:07:08 +03:00
ipc.h ipc: add an input event 2019-07-23 20:45:46 +03:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build
pango.h
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
stringop.h input_cmd_xkb_file: allow shell path expansion 2019-11-21 10:36:15 -05:00
util.h cmd_client_*: refactor duplicated code 2019-12-28 10:07:25 +01:00