Merge pull request #763 from emersion/x11-backend-kbd-modifiers

backend/x11: correctly update keyboard modifiers
This commit is contained in:
Drew DeVault 2018-03-28 12:51:08 -04:00 committed by GitHub
commit 52d621e097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 71 additions and 21 deletions

View file

@ -48,6 +48,12 @@ struct wlr_x11_backend {
// The time we last received an event
xcb_timestamp_t time;
#ifdef WLR_HAS_XCB_XKB
bool xkb_supported;
uint8_t xkb_base_event;
uint8_t xkb_base_error;
#endif
struct wl_listener display_destroy;
};