From de5347d0f2a82150a4788b63d06b5e91d5ebc27a Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Mon, 29 Mar 2021 12:03:35 +0200
Subject: xwayland: require xcb-icccm

This dependency is already required by many other widely used X11
programs, such as i3, Qt, and other XWMs. So it should be available
on most systems.

X11 support can be pretty broken without xcb-icccm, with focus issues
for instance. Let's just remove this --please-break-my-desktop footgun
option.
---
 include/wlr/config.h.in | 1 -
 include/xwayland/xwm.h  | 3 ---
 2 files changed, 4 deletions(-)

(limited to 'include')

diff --git a/include/wlr/config.h.in b/include/wlr/config.h.in
index 3cec1f1a..8a867ece 100644
--- a/include/wlr/config.h.in
+++ b/include/wlr/config.h.in
@@ -11,7 +11,6 @@
 #mesondefine WLR_HAS_XWAYLAND
 
 #mesondefine WLR_HAS_XCB_ERRORS
-#mesondefine WLR_HAS_XCB_ICCCM
 
 #mesondefine WLR_HAS_XDG_FOREIGN
 
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 24549644..32b3135b 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -5,9 +5,6 @@
 #include <wlr/config.h>
 #include <wlr/xwayland.h>
 #include <xcb/render.h>
-#if WLR_HAS_XCB_ICCCM
-#include <xcb/xcb_icccm.h>
-#endif
 #if WLR_HAS_XCB_ERRORS
 #include <xcb/xcb_errors.h>
 #endif
-- 
cgit v1.2.3