初始化 xkb 扩展
This commit is contained in:
8
src/wm.h
8
src/wm.h
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <xcb/xcb_keysyms.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
@@ -25,6 +26,13 @@ typedef struct wm_t {
|
||||
bool have_xfixes;
|
||||
bool have_xinerama;
|
||||
bool have_randr;
|
||||
bool have_xkb;
|
||||
|
||||
uint8_t event_base_xkb;
|
||||
bool xkb_reload_keymap;
|
||||
bool xkb_update_pending;
|
||||
struct xkb_context *xkb_ctx;
|
||||
struct xkb_state *xkb_state;
|
||||
|
||||
color_set_t color_set;
|
||||
} wm_t;
|
||||
|
||||
Reference in New Issue
Block a user