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
1 changed files with 2 additions and 0 deletions
|
|
@ -5,7 +5,9 @@
|
|||
#include "../managers/input/InputManager.hpp"
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <hyprutils/os/FileDescriptor.hpp>
|
||||
#ifndef NO_XWAYLAND
|
||||
#include <xcb/xcb.h>
|
||||
#endif
|
||||
|
||||
#define XDND_VERSION 5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue