1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-12-09 14:09:41 -05:00
rofi/include/xkb-internal.h
2016-10-14 18:56:09 +02:00

31 lines
758 B
C

#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