mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
config: Put all defines into config.h
This commit is contained in:
parent
4d744aeb23
commit
57a09c8ca4
16 changed files with 37 additions and 23 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue