diff options
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/server.c b/sway/server.c index 90f25dbc..1521597f 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -83,7 +83,7 @@ bool server_init(struct sway_server *server) { | |||
83 | server->xdg_shell_surface.notify = handle_xdg_shell_surface; | 83 | server->xdg_shell_surface.notify = handle_xdg_shell_surface; |
84 | 84 | ||
85 | // TODO make xwayland optional | 85 | // TODO make xwayland optional |
86 | #ifdef HAVE_XWAYLAND | 86 | #ifdef HAVE_XWAYLAND |
87 | server->xwayland.wlr_xwayland = | 87 | server->xwayland.wlr_xwayland = |
88 | wlr_xwayland_create(server->wl_display, server->compositor, true); | 88 | wlr_xwayland_create(server->wl_display, server->compositor, true); |
89 | wl_signal_add(&server->xwayland.wlr_xwayland->events.new_surface, | 89 | wl_signal_add(&server->xwayland.wlr_xwayland->events.new_surface, |
@@ -104,7 +104,7 @@ bool server_init(struct sway_server *server) { | |||
104 | image->width * 4, image->width, image->height, image->hotspot_x, | 104 | image->width * 4, image->width, image->height, image->hotspot_x, |
105 | image->hotspot_y); | 105 | image->hotspot_y); |
106 | } | 106 | } |
107 | #endif | 107 | #endif |
108 | 108 | ||
109 | // TODO: Integration with sway borders | 109 | // TODO: Integration with sway borders |
110 | struct wlr_server_decoration_manager *deco_manager = | 110 | struct wlr_server_decoration_manager *deco_manager = |