aboutsummaryrefslogtreecommitdiff
path: root/examples/compositor
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-08-18 19:58:36 +0200
committernyorain <nyorain@gmail.com>2017-08-18 19:58:36 +0200
commitf2a90986919febd6d6a47e044ca7f1842980c5e9 (patch)
treead19af657818a10c842808e41a77045ff199ceb6 /examples/compositor
parent154d2ad941264709816a9644615124e30e054eb9 (diff)
Fix wlr_data_device_manager
Diffstat (limited to 'examples/compositor')
-rw-r--r--examples/compositor/main.c5
1 files changed, 3 insertions, 2 deletions
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() {