config: Put all defines into config.h

This commit is contained in:
Björn Esser 2017-12-26 18:51:27 +01:00
parent 4d744aeb23
commit 57a09c8ca4
No known key found for this signature in database
GPG key ID: F52E98007594C21D
16 changed files with 37 additions and 23 deletions

View file

@ -3,6 +3,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <wayland-server.h>
#include "config.h"
#include <wlr/backend.h>
#include <wlr/backend/headless.h>
#include <wlr/backend/multi.h>
@ -64,7 +65,7 @@ int main(int argc, char **argv) {
}
setenv("WAYLAND_DISPLAY", socket, true);
#ifndef HAS_XWAYLAND
#ifndef WLR_HAS_XWAYLAND
ready(NULL, NULL);
#else
if (server.desktop->xwayland != NULL) {