Ameliorate style in seat.h

This commit is contained in:
Your Name 2020-02-08 18:15:32 +01:00
parent b03394e54b
commit 1f7a668d13

20
seat.h
View file

@ -14,16 +14,6 @@
#define DEFAULT_XCURSOR "left_ptr" #define DEFAULT_XCURSOR "left_ptr"
#define XCURSOR_SIZE 24 #define XCURSOR_SIZE 24
struct cg_keyboard_group {
struct cg_keyboard *keyboard;
struct wlr_keyboard_group *wlr_group;
struct cg_seat *seat;
struct wl_listener key;
struct wl_listener modifiers;
struct wl_list link;
};
struct cg_seat { struct cg_seat {
struct wlr_seat *seat; struct wlr_seat *seat;
struct cg_server *server; struct cg_server *server;
@ -67,6 +57,16 @@ struct cg_keyboard {
struct wl_listener destroy; struct wl_listener destroy;
}; };
struct cg_keyboard_group {
struct cg_keyboard *keyboard;
struct wlr_keyboard_group *wlr_group;
struct cg_seat *seat;
struct wl_listener key;
struct wl_listener modifiers;
struct wl_list link;// cg_seat::keyboard_groups
};
struct cg_pointer { struct cg_pointer {
struct wl_list link; // seat::pointers struct wl_list link; // seat::pointers
struct cg_seat *seat; struct cg_seat *seat;