mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
xwayland: do not include xcb.h when xwayland is disabled (#10407)
xcb.h should not be included when xwayland is disabled. This allows hyprland to not use X11 libraries at all when xwayland is disabled.
This commit is contained in:
parent
a51e639d81
commit
75f2cb5f65
@ -5,7 +5,9 @@
|
|||||||
#include "../managers/input/InputManager.hpp"
|
#include "../managers/input/InputManager.hpp"
|
||||||
#include <wayland-server-protocol.h>
|
#include <wayland-server-protocol.h>
|
||||||
#include <hyprutils/os/FileDescriptor.hpp>
|
#include <hyprutils/os/FileDescriptor.hpp>
|
||||||
|
#ifndef NO_XWAYLAND
|
||||||
#include <xcb/xcb.h>
|
#include <xcb/xcb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define XDND_VERSION 5
|
#define XDND_VERSION 5
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user