aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-27 04:30:05 -0500
committerGitHub <noreply@github.com>2017-12-27 04:30:05 -0500
commit47f9f91d157c9f650afe1172b3bb2d52def66a10 (patch)
tree27d6bd1104a3d3795905adfcd9e442aa28c4bf9c /rootston/desktop.c
parent4d744aeb230f36d990c102a89314f95ff802ca75 (diff)
parent57a09c8ca45e0ec023b7be88745b21fc71649c52 (diff)
Merge pull request #523 from besser82/bugfix/config_header
config: Put all defines into config.h
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 1431dc5d..a4692439 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -3,6 +3,7 @@
#include <time.h>
#include <stdlib.h>
#include <math.h>
+#include "config.h"
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_cursor.h>
@@ -440,7 +441,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
&desktop->wl_shell_surface);
desktop->wl_shell_surface.notify = handle_wl_shell_surface;
-#ifdef HAS_XWAYLAND
+#ifdef WLR_HAS_XWAYLAND
if (config->xwayland) {
desktop->xwayland = wlr_xwayland_create(server->wl_display,
desktop->compositor);