diff options
author | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-07-29 18:50:20 -0400 |
---|---|---|
committer | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-07-29 19:15:10 -0400 |
commit | 8dbbfa5965ca8bfe4bc023100387dd657bafe48e (patch) | |
tree | 53bf8301475a9250c2e5ebaa131086ede883ffc5 /include | |
parent | e33dfbfa758fb899c276135d06f25359ceee0002 (diff) |
Bindings use advised keyboard repeat parameters
Now 'repeat_delay' and 'repeat_rate' control the initial delay
and rate (per second) of repeated binding invocations.
If the repeat delay is zero, binding repetition is disabled.
When the repeat rate is zero, the binding is repeated exactly
once, assuming no other key events intervene.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/keyboard.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h index 660cdc9c..6d28454c 100644 --- a/include/sway/input/keyboard.h +++ b/include/sway/input/keyboard.h @@ -41,8 +41,6 @@ struct sway_keyboard { struct wl_event_source *key_repeat_source; struct sway_binding *repeat_binding; - int key_repeat_initial_delay; // first key repeat event delay, in ms - int key_repeat_step_delay; // subsequent repeat delay, in ms }; struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat, |