From f2a90986919febd6d6a47e044ca7f1842980c5e9 Mon Sep 17 00:00:00 2001 From: nyorain Date: Fri, 18 Aug 2017 19:58:36 +0200 Subject: Fix wlr_data_device_manager --- examples/compositor/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/compositor') diff --git a/examples/compositor/main.c b/examples/compositor/main.c index 02b75dc6..751a3f23 100644 --- a/examples/compositor/main.c +++ b/examples/compositor/main.c @@ -133,8 +133,9 @@ static void handle_keyboard_bound(struct wl_listener *listener, void *data) { wl_keyboard_send_keymap(handle->keyboard, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1, state->keymap_fd, state->keymap_size); - if (wl_resource_get_version(handle->keyboard) >= 2) - wl_keyboard_send_repeat_info(handle->keyboard, 660, 25); + if (wl_resource_get_version(handle->keyboard) >= 2) { + wl_keyboard_send_repeat_info(handle->keyboard, 25, 600); + } } int main() { -- cgit v1.2.3