aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLauri Gustafsson <me@gustafla.space>2020-07-02 23:41:12 +0300
committerGitHub <noreply@github.com>2020-07-02 15:41:12 -0500
commit91b18d4d4d70883a60e7150c2d8a7e3e7f620a79 (patch)
treec18dd674635a852eadb7d32219fe46a1b176298a /dwl.c
parente629feabaf5590ac3583dc7e96412e91f9ed3ff5 (diff)
Add repeat delay and repeat rate to config.h (#13)
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
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;