2018-04-03 03:14:37 +00:00
|
|
|
#ifndef _SWAYLOCK_SEAT_H
|
|
|
|
#define _SWAYLOCK_SEAT_H
|
|
|
|
#include <xkbcommon/xkbcommon.h>
|
|
|
|
|
|
|
|
struct swaylock_xkb {
|
2018-04-20 12:46:30 +00:00
|
|
|
bool caps_lock;
|
2018-06-08 12:58:01 +00:00
|
|
|
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
|