Use xkb_state_update_mask() with Wayland backend

Fix #158
This commit is contained in:
Versus Void 2017-10-06 12:03:34 +03:00
parent b2d478a418
commit 568b270cdf
6 changed files with 29 additions and 9 deletions

View file

@ -67,5 +67,6 @@ void handle_keyboard_key(struct libinput_event *event,
wlr_event.state = WLR_KEY_PRESSED;
break;
}
wlr_keyboard_update_state(wlr_dev->keyboard, &wlr_event);
wlr_event.update_state = true;
wlr_keyboard_notify_key(wlr_dev->keyboard, &wlr_event);
}