<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2014 18:43, Jasper St. Pierre <span dir="ltr"><<a href="mailto:jstpierre@mecheye.net" target="_blank">jstpierre@mecheye.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">diff --git a/src/input.c b/src/input.c<br>
index 4aa8ca7..aaa2223 100644<br>
--- a/src/input.c<br>
+++ b/src/input.c<br>
@@ -1721,6 +1721,9 @@ seat_get_keyboard(struct wl_client *client, struct wl_resource *resource,<br>
wl_resource_set_implementation(cr, &keyboard_interface,<br>
seat, unbind_resource);<br>
<br>
+ if (wl_resource_get_version(cr) >= WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION)<br>
+ wl_keyboard_send_repeat_info(cr, 30, 200);<br>
+<br>
if (seat->compositor->use_xkbcommon) {<br>
wl_keyboard_send_keymap(cr, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1,<br>
keyboard->xkb_info->keymap_fd,<br>
@@ -2207,7 +2210,7 @@ weston_seat_init(struct weston_seat *seat, struct weston_compositor *ec,<br>
wl_signal_init(&seat->destroy_signal);<br>
wl_signal_init(&seat->updated_caps_signal);<br>
<br>
- seat->global = wl_global_create(ec->wl_display, &wl_seat_interface, 3,<br>
+ seat->global = wl_global_create(ec->wl_display, &wl_seat_interface, 4,<br>
seat, bind_seat);<br>
<br>
seat->compositor = ec;<br></blockquote><div><br></div><div>Jonny's implementation would be better, as it let you configure it via weston.ini, and also added support to toytoolkit.</div><div><br></div><div>
Cheers,</div><div>Daniel</div></div></div></div>