aboutsummaryrefslogtreecommitdiff
path: root/rootston/main.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-17 20:03:26 -0500
committerGitHub <noreply@github.com>2017-12-17 20:03:26 -0500
commit10c72f4bf6202bfce89e5a40b03475dd28cd68df (patch)
tree3c13e6a58f51e920e60ad57c033307eddca1fe23 /rootston/main.c
parent3363ea869a250a54214af93d6fc7cdc22f1fad9e (diff)
parent804c7a73a6d7af18e202109d331d1208af7f57d4 (diff)
Merge pull request #487 from emersion/xwm-selection
xwm clipboard sync, 2nd edition
Diffstat (limited to 'rootston/main.c')
-rw-r--r--rootston/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/main.c b/rootston/main.c
index 3b65a067..58e5a5e5 100644
--- a/rootston/main.c
+++ b/rootston/main.c
@@ -60,6 +60,9 @@ int main(int argc, char **argv) {
ready(NULL, NULL);
#else
if (server.desktop->xwayland != NULL) {
+ struct roots_seat *xwayland_seat =
+ input_get_seat(server.input, ROOTS_CONFIG_DEFAULT_SEAT_NAME);
+ wlr_xwayland_set_seat(server.desktop->xwayland, xwayland_seat->seat);
wl_signal_add(&server.desktop->xwayland->events.ready,
&server.desktop->xwayland_ready);
server.desktop->xwayland_ready.notify = ready;