1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 23:14:03 +01:00
sway/include/swaylock/seat.h

22 lines
404 B
C
Raw Normal View History

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