aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h4
-rw-r--r--include/xwayland/xwm.h (renamed from include/wlr/xwm.h)7
2 files changed, 7 insertions, 4 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 0d4b91ed..f34860aa 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -8,10 +8,6 @@
#include <wlr/types/wlr_seat.h>
#include <xcb/xcb.h>
-#ifdef WLR_HAS_XCB_ICCCM
- #include <xcb/xcb_icccm.h>
-#endif
-
struct wlr_xwm;
struct wlr_xwayland_cursor;
diff --git a/include/wlr/xwm.h b/include/xwayland/xwm.h
index 7d518f7e..0ed61d37 100644
--- a/include/wlr/xwm.h
+++ b/include/xwayland/xwm.h
@@ -5,6 +5,13 @@
#include <wlr/xwayland.h>
#include <xcb/render.h>
+#ifdef WLR_HAS_XCB_ICCCM
+ #include <xcb/xcb_icccm.h>
+#endif
+#ifdef WLR_HAS_XCB_ERRORS
+ #include <xcb/xcb_errors.h>
+#endif
+
enum atom_name {
WL_SURFACE_ID,
WM_DELETE_WINDOW,