Simplify macro guards for HAVE_XRANDR
This commit is contained in:
1 parent
29eaf09be4
commit
d4b293e969
7 files changed
+12
-14
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user