diff options
author | emersion <contact@emersion.fr> | 2018-05-02 10:03:26 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-03 10:30:47 +0100 |
commit | 2cff6dbd630e070b56b0b9d3549fb9e7a8a53943 (patch) | |
tree | bb02c9f649e378a91729deba7d7cdae723652c6e /include | |
parent | 4b5b02057c442b3cb72b0b163d8dc94c2933fa42 (diff) |
seat: split into multiple files
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_seat.h | 20 | ||||
-rw-r--r-- | include/wlr/types/wlr_seat.h | 3 |
2 files changed, 20 insertions, 3 deletions
diff --git a/include/types/wlr_seat.h b/include/types/wlr_seat.h new file mode 100644 index 00000000..b76525ec --- /dev/null +++ b/include/types/wlr_seat.h @@ -0,0 +1,20 @@ +#ifndef TYPES_WLR_SEAT_H +#define TYPES_WLR_SEAT_H + +#include <wayland-server.h> +#include <wlr/types/wlr_seat.h> + +const struct wlr_pointer_grab_interface default_pointer_grab_impl; +const struct wlr_keyboard_grab_interface default_keyboard_grab_impl; +const struct wlr_touch_grab_interface default_touch_grab_impl; + +void seat_client_create_pointer(struct wlr_seat_client *seat_client, + uint32_t version, uint32_t id); + +void seat_client_create_keyboard(struct wlr_seat_client *seat_client, + uint32_t version, uint32_t id); + +void seat_client_create_touch(struct wlr_seat_client *seat_client, + uint32_t version, uint32_t id); + +#endif diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index ff907f97..e1fa27bb 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -42,7 +42,6 @@ struct wlr_touch_point { struct wl_listener surface_destroy; struct wl_listener focus_surface_destroy; - struct wl_listener resource_destroy; struct { struct wl_signal destroy; @@ -138,7 +137,6 @@ struct wlr_seat_pointer_state { uint32_t grab_time; struct wl_listener surface_destroy; - struct wl_listener resource_destroy; }; // TODO: May be useful to be able to simulate keyboard input events @@ -154,7 +152,6 @@ struct wlr_seat_keyboard_state { struct wl_listener keyboard_repeat_info; struct wl_listener surface_destroy; - struct wl_listener resource_destroy; struct wlr_seat_keyboard_grab *grab; struct wlr_seat_keyboard_grab *default_grab; |