blob: f770b381ce798e7dcdeb94e7265dd7b9f6dbb973 [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001Since
2https://github.com/WebKit/webkit/commit/acd3f32cd43c363be032f93ede3aa10c4ee97fa4
3it uses XVisualInfo which is defined in Xutil.h
4
5Without this the build fails with:
6webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:132:5: error: 'XVisualInfo' was not declared in this scope; did you mean 'VisualID'?
7 132 | XVisualInfo visualTemplate;
8 | ^~~~~~~~~~~
9 | VisualID
10
11Upstream-Status: Pending
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13
14diff -uNr webkitgtk-2.30.2.orig/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
15--- webkitgtk-2.30.2.orig/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 2020-08-12 09:17:55.000000000 +0000
16+++ webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 2020-11-06 03:11:40.379913528 +0000
17@@ -30,6 +30,7 @@
18
19 #if PLATFORM(X11)
20 #include <X11/Xlib.h>
21+#include <X11/Xutil.h>
22 #include <X11/extensions/Xcomposite.h>
23 #if PLATFORM(GTK)
24 #include <X11/extensions/Xdamage.h>