diff options
author | emersion <contact@emersion.fr> | 2018-03-28 00:26:15 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-28 00:26:15 -0400 |
commit | f033f717a27b1ea0974db43118312c8b05587fec (patch) | |
tree | bfa7a1c176579abbd674c6fbe8c135e9db7dd246 /include | |
parent | 8d1b5c760098961501d3ece510a417a44fecd212 (diff) |
backend/x11: make xcb-xkb optional, remove global state
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/x11.h | 6 |
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; }; |