mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-09 13:29:46 -05:00
Fix wlr_data_device_manager
This commit is contained in:
parent
154d2ad941
commit
f2a9098691
3 changed files with 12 additions and 11 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue