diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-17 20:03:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-17 20:03:26 -0500 |
commit | 10c72f4bf6202bfce89e5a40b03475dd28cd68df (patch) | |
tree | 3c13e6a58f51e920e60ad57c033307eddca1fe23 /include/wlr/xwayland.h | |
parent | 3363ea869a250a54214af93d6fc7cdc22f1fad9e (diff) | |
parent | 804c7a73a6d7af18e202109d331d1208af7f57d4 (diff) |
Merge pull request #487 from emersion/xwm-selection
xwm clipboard sync, 2nd edition
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r-- | include/wlr/xwayland.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 468437bc..acf04595 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; @@ -175,4 +177,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 |