aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/commands.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-12-11 11:00:39 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-12-12 10:37:30 -0500
commit2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6 (patch)
tree69d3367cf7dbd7f756d45d89cd37e6016503a88d /include/sway/commands.h
parentFix lingering workspace with scratchpad show (diff)
downloadsway-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.h2
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;
285sway_cmd seat_cmd_cursor; 285sway_cmd seat_cmd_cursor;
286sway_cmd seat_cmd_fallback; 286sway_cmd seat_cmd_fallback;
287sway_cmd seat_cmd_hide_cursor; 287sway_cmd seat_cmd_hide_cursor;
288sway_cmd seat_cmd_idle_inhibit;
289sway_cmd seat_cmd_idle_wake;
288sway_cmd seat_cmd_keyboard_grouping; 290sway_cmd seat_cmd_keyboard_grouping;
289sway_cmd seat_cmd_pointer_constraint; 291sway_cmd seat_cmd_pointer_constraint;
290sway_cmd seat_cmd_xcursor_theme; 292sway_cmd seat_cmd_xcursor_theme;