aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rootston/input.h2
-rw-r--r--include/wlr/xwayland.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/include/rootston/input.h b/include/rootston/input.h
index 0af48577..726dda24 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -28,4 +28,6 @@ struct roots_seat *input_seat_from_wlr_seat(struct roots_input *input,
bool input_view_has_focus(struct roots_input *input, struct roots_view *view);
+struct roots_seat *input_get_seat(struct roots_input *input, char *name);
+
#endif
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 792d2b88..523dda67 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -4,6 +4,7 @@
#include <time.h>
#include <stdbool.h>
#include <wlr/types/wlr_compositor.h>
+#include <wlr/types/wlr_seat.h>
#include <xcb/xcb.h>
#ifdef HAS_XCB_ICCCM
@@ -20,6 +21,7 @@ struct wlr_xwayland {
struct wl_client *client;
struct wl_display *wl_display;
struct wlr_compositor *compositor;
+ struct wlr_seat *seat;
time_t server_start;
struct wl_event_source *sigusr1_source;
@@ -167,4 +169,7 @@ void wlr_xwayland_surface_set_maximized(struct wlr_xwayland_surface *surface,
void wlr_xwayland_surface_set_fullscreen(struct wlr_xwayland_surface *surface,
bool fullscreen);
+void wlr_xwayland_set_seat(struct wlr_xwayland *xwayland,
+ struct wlr_seat *seat);
+
#endif