mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user