aboutsummaryrefslogtreecommitdiff
path: root/include/backend/x11.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 12:51:08 -0400
committerGitHub <noreply@github.com>2018-03-28 12:51:08 -0400
commit52d621e0979c3b393753d1c67b2b0fd23212ca41 (patch)
tree764061551ce4d351146e86f76eabb2e759d1612f /include/backend/x11.h
parent330ee081269790922a46091399b616b12ce14f51 (diff)
parentf033f717a27b1ea0974db43118312c8b05587fec (diff)
Merge pull request #763 from emersion/x11-backend-kbd-modifiers
backend/x11: correctly update keyboard modifiers
Diffstat (limited to 'include/backend/x11.h')
-rw-r--r--include/backend/x11.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 840509bf..72710f6c 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -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;
};