From 91b18d4d4d70883a60e7150c2d8a7e3e7f620a79 Mon Sep 17 00:00:00 2001 From: Lauri Gustafsson Date: Thu, 2 Jul 2020 23:41:12 +0300 Subject: Add repeat delay and repeat rate to config.h (#13) --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwl.c') diff --git a/dwl.c b/dwl.c index 70dd08d..12a8ec2 100644 --- a/dwl.c +++ b/dwl.c @@ -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; -- cgit v1.2.3