sway/include/swaylock/seat.h

22 lines
404 B
C
Raw Normal View History

2018-04-03 03:14:37 +00:00
#ifndef _SWAYLOCK_SEAT_H
#define _SWAYLOCK_SEAT_H
#include <xkbcommon/xkbcommon.h>
struct swaylock_xkb {
bool caps_lock;
bool control;
2018-04-03 03:14:37 +00:00
struct xkb_state *state;
struct xkb_context *context;
struct xkb_keymap *keymap;
};
2018-10-24 12:04:16 +00:00
struct swaylock_seat {
struct swaylock_state *state;
struct wl_pointer *pointer;
struct wl_keyboard *keyboard;
};
2018-04-03 03:14:37 +00:00
extern const struct wl_seat_listener seat_listener;
#endif