commit | 66a41a06e78d7363cbbec4486cf420fc5ab4c3e8 | [log] [tgz] |
---|---|---|
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | Tue Aug 12 14:58:25 2014 +0200 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Fri Aug 15 15:39:47 2014 +0300 |
tree | 0199ac5b30403974cd6eb4600fbab25b76c1db64 | |
parent | 05e4a1f768bbeecb357a449924cd8a9f2b6b0112 [diff] [blame] |
compositor: fetch repeat info from weston.ini
diff --git a/src/compositor.c b/src/compositor.c index 4d6a02a..96e3435 100644 --- a/src/compositor.c +++ b/src/compositor.c
@@ -3792,6 +3792,11 @@ if (weston_compositor_xkb_init(ec, &xkb_names) < 0) return -1; + weston_config_section_get_int(s, "repeat-rate", + &ec->kb_repeat_rate, 40); + weston_config_section_get_int(s, "repeat-delay", + &ec->kb_repeat_delay, 400); + text_backend_init(ec); wl_data_device_manager_init(ec->wl_display);