mirror of
https://github.com/swaywm/sway.git
synced 2024-11-17 21:49:16 +00:00
d9de5b8758
This implements the following command to set/unset a user idle inhibitor for a view: `inhibit_idle focus|fullscreen|open|none|visible` The modes are as follows: - focus: inhibited when the view is focused by any seat - fullscreen: inhibited when the view is fullscreen (or a descendant of a fullscreen container) and is visible on any output - open: inhibited until the view is closed or the inhibitor is unset or changed - none: unsets any user set idle inhibitors for the view - visible: inhibited when the view is visible on any output This should have no effect on idle inhibitors set by the applications themselves and those should still work as intended. Since this operates on the view in the handler context, it is possible to set it on the currently focused view, on any existing view with criteria, or for any future view with for_window. |
||
---|---|---|
.. | ||
commands | ||
config | ||
desktop | ||
input | ||
tree | ||
commands.c | ||
config.c | ||
criteria.c | ||
decoration.c | ||
ipc-json.c | ||
ipc-server.c | ||
main.c | ||
meson.build | ||
security.c | ||
server.c | ||
sway-bar.5.scd | ||
sway-input.5.scd | ||
sway-ipc.7.scd | ||
sway-output.5.scd | ||
sway.1.scd | ||
sway.5.scd | ||
swaynag.c | ||
xdg_decoration.c |