mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 16:59:18 +01:00
Remove include Xlib.h from X11Utils.h
This commit is contained in:
parent
f80f7b6f9c
commit
88f7056a41
@ -4,19 +4,10 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// HACK: Xlib.h (included from gtk/gdk headers and directly) uses #defines on
|
|
||||||
// common names such as "Status", "BadRequest" or "Response", causing SFML
|
|
||||||
// headers to be completely broken.
|
|
||||||
//
|
|
||||||
// We work around that issue by including SFML first before X11 headers. This
|
|
||||||
// is terrible, but such is the life with Xlib.
|
|
||||||
#include <SFML/Network.hpp> // NOLINT
|
|
||||||
|
|
||||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||||
#include <X11/extensions/Xrandr.h>
|
#include <X11/extensions/Xrandr.h>
|
||||||
#endif
|
#endif
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xlib.h>
|
|
||||||
|
|
||||||
// EWMH state actions, see
|
// EWMH state actions, see
|
||||||
// http://freedesktop.org/wiki/Specifications/wm-spec?action=show&redirect=Standards%2Fwm-spec
|
// http://freedesktop.org/wiki/Specifications/wm-spec?action=show&redirect=Standards%2Fwm-spec
|
||||||
|
Loading…
x
Reference in New Issue
Block a user