Implement hide_cursor <timeout> command

Allows the cursor to be hidden after a specified timeout in
milliseconds
This commit is contained in:
Brian Ashworth 2018-12-17 15:37:15 -05:00 committed by emersion
parent a223030b70
commit 5fca74a1f1
9 changed files with 91 additions and 7 deletions

View file

@ -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);