diff options
| -rw-r--r-- | config.def.h | 2 | ||||
| -rw-r--r-- | dwl.c | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/config.def.h b/config.def.h index 52851d6..6e18fd3 100644 --- a/config.def.h +++ b/config.def.h @@ -37,6 +37,8 @@ static const struct xkb_rule_names xkb_rules = {  	.options = "ctrl:nocaps",  	*/  }; +static const int repeat_rate = 25; +static const int repeat_delay = 600;  #define MODKEY WLR_MODIFIER_ALT  #define TAGKEYS(KEY,SKEY,TAG) \ @@ -391,7 +391,7 @@ createkeyboard(struct wlr_input_device *device)  	wlr_keyboard_set_keymap(device->keyboard, keymap);  	xkb_keymap_unref(keymap);  	xkb_context_unref(context); -	wlr_keyboard_set_repeat_info(device->keyboard, 25, 600); +	wlr_keyboard_set_repeat_info(device->keyboard, repeat_rate, repeat_delay);  	/* Here we set up listeners for keyboard events. */  	kb->modifiers.notify = keypressmod; | 
