mirror of https://github.com/davatorium/rofi.git
view-internal: Use XCB types
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
09e520dfe8
commit
f39f5bb0cb
|
@ -50,8 +50,8 @@ struct RofiViewState
|
||||||
// Last offset in paginating.
|
// Last offset in paginating.
|
||||||
unsigned int last_offset;
|
unsigned int last_offset;
|
||||||
|
|
||||||
KeySym prev_key;
|
xkb_keysym_t prev_key;
|
||||||
Time last_button_press;
|
xcb_timestamp_t last_button_press;
|
||||||
|
|
||||||
int quit;
|
int quit;
|
||||||
int skip_absorb;
|
int skip_absorb;
|
||||||
|
|
|
@ -4,14 +4,16 @@
|
||||||
#include <xkbcommon/xkbcommon.h>
|
#include <xkbcommon/xkbcommon.h>
|
||||||
#include <xkbcommon/xkbcommon-compose.h>
|
#include <xkbcommon/xkbcommon-compose.h>
|
||||||
|
|
||||||
struct xkb_stuff {
|
struct xkb_stuff
|
||||||
|
{
|
||||||
xcb_connection_t *xcb_connection;
|
xcb_connection_t *xcb_connection;
|
||||||
struct xkb_context *context;
|
struct xkb_context *context;
|
||||||
uint8_t first_event;
|
uint8_t first_event;
|
||||||
int32_t device_id;
|
int32_t device_id;
|
||||||
struct xkb_keymap *keymap;
|
struct xkb_keymap *keymap;
|
||||||
struct xkb_state *state;
|
struct xkb_state *state;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
struct xkb_compose_table *table;
|
struct xkb_compose_table *table;
|
||||||
struct xkb_compose_state * state;
|
struct xkb_compose_state * state;
|
||||||
} compose;
|
} compose;
|
||||||
|
|
Loading…
Reference in New Issue