aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
authorPascal Pascher <aur@clouddrop.de>2018-07-24 23:37:41 +0200
committerPascal Pascher <aur@clouddrop.de>2018-07-24 23:37:41 +0200
commit2bf893248a94c7f70a9557aad4a8228731041eeb (patch)
treeec86137e1b5881151b20917f311ecce3d24fba8f /sway/server.c
parent24ad1c3983192b47345566fd876e26b45160d68e (diff)
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c4
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) {
server->xdg_shell_surface.notify = handle_xdg_shell_surface;
// TODO make xwayland optional
- #ifdef HAVE_XWAYLAND
+#ifdef HAVE_XWAYLAND
server->xwayland.wlr_xwayland =
wlr_xwayland_create(server->wl_display, server->compositor, true);
wl_signal_add(&server->xwayland.wlr_xwayland->events.new_surface,
@@ -104,7 +104,7 @@ bool server_init(struct sway_server *server) {
image->width * 4, image->width, image->height, image->hotspot_x,
image->hotspot_y);
}
- #endif
+#endif
// TODO: Integration with sway borders
struct wlr_server_decoration_manager *deco_manager =