mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-11 02:01:53 -07:00
Allow to disable X11 backend separately from Xwayland after 5a750b485a
(#1445)
This commit is contained in:
@@ -105,8 +105,11 @@ extern "C" {
|
||||
|
||||
#include <drm_fourcc.h>
|
||||
|
||||
#ifndef NO_XWAYLAND
|
||||
#if WLR_HAS_X11_BACKEND
|
||||
#include <wlr/backend/x11.h>
|
||||
#endif
|
||||
|
||||
#ifndef NO_XWAYLAND
|
||||
#include <wlr/xwayland.h>
|
||||
#endif
|
||||
}
|
||||
@@ -127,6 +130,10 @@ extern "C" {
|
||||
#include <GLES3/gl3ext.h>
|
||||
#endif
|
||||
|
||||
#if !WLR_HAS_X11_BACKEND
|
||||
#include "helpers/X11Stubs.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef NO_XWAYLAND
|
||||
#define XWAYLAND false
|
||||
#include "helpers/XWaylandStubs.hpp"
|
||||
|
Reference in New Issue
Block a user