aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-22 08:10:06 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-22 08:10:06 -0500
commitb0683874e98a2dab7cc73734355bb8e0ad656113 (patch)
tree810f987a840d25b302d235129aa37185b5283522 /include/wlr/xwayland.h
parentea6f77b4840f8a282f645f8ceb3fdd7b72d6af65 (diff)
xwm: send selection data
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r--include/wlr/xwayland.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 54558a7b..cef17f38 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
@@ -16,7 +17,6 @@ struct wlr_xwayland_cursor;
struct wlr_xwayland {
pid_t pid;
int display;
- struct wlr_seat *seat;
int x_fd[2], wl_fd[2], wm_fd[2];
struct wl_client *client;
struct wl_display *wl_display;
@@ -170,4 +170,7 @@ void wlr_xwayland_surface_set_maximized(struct wlr_xwayland *wlr_xwayland,
void wlr_xwayland_surface_set_fullscreen(struct wlr_xwayland *wlr_xwayland,
struct wlr_xwayland_surface *surface, bool fullscreen);
+void wlr_xwayland_set_seat(struct wlr_xwayland *xwayland,
+ struct wlr_seat *seat);
+
#endif