mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
view-internal: Use XCB types
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
09e520dfe8
commit
f39f5bb0cb
4 changed files with 48 additions and 46 deletions
|
@ -50,8 +50,8 @@ struct RofiViewState
|
|||
// Last offset in paginating.
|
||||
unsigned int last_offset;
|
||||
|
||||
KeySym prev_key;
|
||||
Time last_button_press;
|
||||
xkb_keysym_t prev_key;
|
||||
xcb_timestamp_t last_button_press;
|
||||
|
||||
int quit;
|
||||
int skip_absorb;
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
#include <xkbcommon/xkbcommon.h>
|
||||
#include <xkbcommon/xkbcommon-compose.h>
|
||||
|
||||
struct xkb_stuff {
|
||||
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
|
||||
{
|
||||
struct xkb_compose_table *table;
|
||||
struct xkb_compose_state * state;
|
||||
} compose;
|
||||
|
|
Loading…
Reference in a new issue