Merge pull request #1029 from emersion/wl-backend-keyboard-focus-keys

backend/wayland: fix keyboard keys not pressed/released when focus changes
This commit is contained in:
emersion 2018-06-08 00:04:33 +01:00 committed by GitHub
commit 32f9699359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 1 deletions

View file

@ -89,7 +89,7 @@ enum wlr_key_state {
struct wlr_event_keyboard_key {
uint32_t time_msec;
uint32_t keycode;
bool update_state;
bool update_state; // if backend doesn't update modifiers on its own
enum wlr_key_state state;
};