Simplify macro guards for HAVE_XRANDR

This commit is contained in:
Norbert Lange committed 2021-02-22 14:32:53 +01:00
1 parent 29eaf09be4
commit d4b293e969
7 files changed
+12 -14

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@
#include <string>
#include <vector>
#if defined(HAVE_XRANDR) && HAVE_XRANDR
#ifdef HAVE_XRANDR
#include <X11/extensions/Xrandr.h>
#endif
#include <X11/Xlib.h>
@@ -26,7 +26,7 @@ Display* XDisplayFromHandle(void* Handle);
void InhibitScreensaver(Window win, bool suspend);
#if defined(HAVE_XRANDR) && HAVE_XRANDR
#ifdef HAVE_XRANDR
class XRRConfiguration
{
public: