aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c
index 712d8022..cbb5936e 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -182,6 +182,8 @@ bool server_start(struct sway_server *server) {
182 &server->xwayland_ready); 182 &server->xwayland_ready);
183 server->xwayland_ready.notify = handle_xwayland_ready; 183 server->xwayland_ready.notify = handle_xwayland_ready;
184 184
185 setenv("DISPLAY", server->xwayland.wlr_xwayland->display_name, true);
186
185 server->xwayland.xcursor_manager = 187 server->xwayland.xcursor_manager =
186 wlr_xcursor_manager_create(cursor_theme, cursor_size); 188 wlr_xcursor_manager_create(cursor_theme, cursor_size);
187 wlr_xcursor_manager_load(server->xwayland.xcursor_manager, 1); 189 wlr_xcursor_manager_load(server->xwayland.xcursor_manager, 1);