summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2018-12-17 15:37:15 -0500
committeremersion <[email protected]>2018-12-25 13:31:56 +0100
commit5fca74a1f1704281e86114b567707486875c4e05 (patch)
tree706f16acd2cc9d1f45e7378bfa1cbe8082c2472e /sway/commands.c
parenta223030b70c8e360f81b820244705e007e3ac1ec (diff)
Implement hide_cursor <timeout> command
Allows the cursor to be hidden after a specified timeout in milliseconds
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index f6d1cc3e..eda29c65 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -86,6 +86,7 @@ static struct cmd_handler handlers[] = {
{ "force_focus_wrapping", cmd_force_focus_wrapping },
{ "fullscreen", cmd_fullscreen },
{ "gaps", cmd_gaps },
+ { "hide_cursor", cmd_hide_cursor },
{ "hide_edge_borders", cmd_hide_edge_borders },
{ "include", cmd_include },
{ "input", cmd_input },