2018-04-03 13:14:37 +10:00
|
|
|
#ifndef _SWAYLOCK_SEAT_H
|
|
|
|
#define _SWAYLOCK_SEAT_H
|
|
|
|
#include <xkbcommon/xkbcommon.h>
|
|
|
|
|
|
|
|
struct swaylock_xkb {
|
2018-04-20 22:46:30 +10:00
|
|
|
bool caps_lock;
|
2018-06-08 22:58:01 +10:00
|
|
|
bool control;
|
2018-04-03 13:14:37 +10:00
|
|
|
struct xkb_state *state;
|
|
|
|
struct xkb_context *context;
|
|
|
|
struct xkb_keymap *keymap;
|
|
|
|
};
|
|
|
|
|
2018-10-24 23:04:16 +11:00
|
|
|
struct swaylock_seat {
|
|
|
|
struct swaylock_state *state;
|
|
|
|
struct wl_pointer *pointer;
|
|
|
|
struct wl_keyboard *keyboard;
|
|
|
|
};
|
|
|
|
|
2018-04-03 13:14:37 +10:00
|
|
|
extern const struct wl_seat_listener seat_listener;
|
|
|
|
|
|
|
|
#endif
|