mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 14:21:07 +00:00
31 lines
758 B
C
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
|