return 0;
}
+#ifdef WITH_XRANDR
inline Msp::Graphics::VideoRotation rotation_from_sys(Rotation r)
{
switch(r)
default: return RR_Rotate_0;
}
}
+#endif
bool monitor_x_compare(const Msp::Graphics::Monitor &m1, const Msp::Graphics::Monitor &m2)
{
#define MSP_GRAPHICS_DISPLAY_PLATFORM_H_
#include <X11/Xlib.h>
+#ifdef WITH_XRANDR
#include <X11/extensions/Xrandr.h>
+#endif
namespace Msp {
namespace Graphics {
typedef ::Display *DisplayHandle;
+#ifdef WITH_XRANDR
typedef RROutput MonitorHandle;
typedef RRMode ModeHandle;
+#else
+typedef int MonitorHandle;
+typedef int ModeHandle;
+#endif
} // namespace Graphics
} // namespace Msp