diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-12-17 15:37:15 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-25 13:31:56 +0100 |
commit | 5fca74a1f1704281e86114b567707486875c4e05 (patch) | |
tree | 706f16acd2cc9d1f45e7378bfa1cbe8082c2472e /sway/config.c | |
parent | a223030b70c8e360f81b820244705e007e3ac1ec (diff) |
Implement hide_cursor <timeout> command
Allows the cursor to be hidden after a specified timeout in
milliseconds
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index d4b7d466..bb18c739 100644 --- a/sway/config.c +++ b/sway/config.c @@ -257,6 +257,8 @@ static void config_defaults(struct sway_config *config) { config->hide_edge_borders = E_NONE; config->saved_edge_borders = E_NONE; + config->hide_cursor_timeout = 0; + // border colors set_color(config->border_colors.focused.border, 0x4C7899); set_color(config->border_colors.focused.background, 0x285577); |