diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-12-11 11:00:39 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-12 10:37:30 -0500 |
commit | 2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6 (patch) | |
tree | 69d3367cf7dbd7f756d45d89cd37e6016503a88d /include/sway/commands.h | |
parent | Fix lingering workspace with scratchpad show (diff) | |
download | sway-2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6.tar.gz sway-2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6.tar.zst sway-2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6.zip |
Add seat <seat> idle_{inhibit,wake} <sources...>
This adds seat configuration options which can be used to configure what
events affect the idle behavior of sway.
An example use-case is mobile devices: you would remove touch from the
list of idle_wake events. This allows the phone to stay on while you're
actively using it, but doesn't wake from idle on touch events while it's
sleeping in your pocket.
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r-- | include/sway/commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 5f249980..982125c1 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -285,6 +285,8 @@ sway_cmd seat_cmd_attach; | |||
285 | sway_cmd seat_cmd_cursor; | 285 | sway_cmd seat_cmd_cursor; |
286 | sway_cmd seat_cmd_fallback; | 286 | sway_cmd seat_cmd_fallback; |
287 | sway_cmd seat_cmd_hide_cursor; | 287 | sway_cmd seat_cmd_hide_cursor; |
288 | sway_cmd seat_cmd_idle_inhibit; | ||
289 | sway_cmd seat_cmd_idle_wake; | ||
288 | sway_cmd seat_cmd_keyboard_grouping; | 290 | sway_cmd seat_cmd_keyboard_grouping; |
289 | sway_cmd seat_cmd_pointer_constraint; | 291 | sway_cmd seat_cmd_pointer_constraint; |
290 | sway_cmd seat_cmd_xcursor_theme; | 292 | sway_cmd seat_cmd_xcursor_theme; |