mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 20:10:23 -04:00
Add repeat delay and repeat rate to config.h (#13)
This commit is contained in:
parent
e629feabaf
commit
91b18d4d4d
2 changed files with 3 additions and 1 deletions
2
dwl.c
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue