blob: 83010e1431c3e029bb9edac7b05f58bfb22987da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef ROFI_XKB_INTERNAL_H
#define ROFI_XKB_INTERNAL_H
#include <xkbcommon/xkbcommon.h>
#include <xkbcommon/xkbcommon-compose.h>
struct xkb_stuff
{
/** connection to the X server*/
xcb_connection_t *xcb_connection;
/** Keyboard context */
struct xkb_context *context;
/** Flag indicating first event */
uint8_t first_event;
/** Keyboard device id */
int32_t device_id;
/** Current keymap */
struct xkb_keymap *keymap;
/** Keyboard state */
struct xkb_state *state;
/** Compose information */
struct
{
/** Compose table */
struct xkb_compose_table *table;
/** Compose state */
struct xkb_compose_state * state;
} compose;
};
#endif
|