From d2d355bb50ede1a6da47b14de2aea38e6739ea73 Mon Sep 17 00:00:00 2001 From: Jonathan Hamilton Date: Sat, 9 Sep 2017 11:49:20 -0700 Subject: [PATCH] Buildfix for X11 where HAVE_XRANDR is disabled The "X.h" header *just* contains protocol constants, not functions or typedefs - so stuff like "Display" and "Window" are not defined unless you include "Xlib.h". "Xrandr.h" happens to include "Xlib.h" itself, so enabling xrandr effectively worked around this issue. --- Source/Core/UICommon/X11Utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/UICommon/X11Utils.h b/Source/Core/UICommon/X11Utils.h index ea3e53fce5..87bb518d0c 100644 --- a/Source/Core/UICommon/X11Utils.h +++ b/Source/Core/UICommon/X11Utils.h @@ -10,7 +10,7 @@ #if defined(HAVE_XRANDR) && HAVE_XRANDR #include #endif -#include +#include // EWMH state actions, see // http://freedesktop.org/wiki/Specifications/wm-spec?action=show&redirect=Standards%2Fwm-spec