diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-21 18:09:25 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-21 18:09:25 -0500 |
commit | 39e2ea8420e78710906308a17a65b55e9d03dda8 (patch) | |
tree | 2750b12e2270282e9a8c6ddc3155718f4c7f0c8b /rootston/main.c | |
parent | 1ada1b7f0bdf048ea3d5f01c6b8eb7badfd97eae (diff) |
xwm: get selection targets
Diffstat (limited to 'rootston/main.c')
-rw-r--r-- | rootston/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rootston/main.c b/rootston/main.c index 46548094..74f9195c 100644 --- a/rootston/main.c +++ b/rootston/main.c @@ -38,6 +38,12 @@ int main(int argc, char **argv) { server.desktop = desktop_create(&server, server.config); server.input = input_create(&server, server.config); + struct roots_seat *default_seat = + roots_seat_create(server.input, ROOTS_CONFIG_DEFAULT_SEAT_NAME); + if (server.desktop->xwayland) { + server.desktop->xwayland->seat = default_seat->seat; + } + const char *socket = wl_display_add_socket_auto(server.wl_display); if (!socket) { wlr_log_errno(L_ERROR, "Unable to open wayland socket"); |