summaryrefslogtreecommitdiffstats
path: root/include/xkb-internal.h
blob: 3a95c1a27c72ff9bb59484b4439ae902e56d70d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef ROFI_XKB_INTERNAL_H
#define ROFI_XKB_INTERNAL_H

#include <xkbcommon/xkbcommon.h>
#include <xkbcommon/xkbcommon-compose.h>

struct xkb_stuff
{
    xcb_connection_t   *xcb_connection;
    struct xkb_context *context;
    uint8_t            first_event;
    int32_t            device_id;
    struct xkb_keymap  *keymap;
    struct xkb_state   *state;
    struct
    {
        struct xkb_compose_table *table;
        struct xkb_compose_state * state;
    } compose;
};

#endif