#ifdef WITH_XRANDR
#include <X11/extensions/Xrandr.h>
#endif
+#include "window_private.h"
namespace Msp {
namespace Graphics {
typedef ::Display *DisplayHandle;
+
+struct PlatformDisplayPrivate
+{
+ WindowHandle root_window;
#ifdef WITH_XRANDR
-typedef RROutput MonitorHandle;
-typedef RRMode ModeHandle;
-#else
-typedef int MonitorHandle;
-typedef int ModeHandle;
+ std::vector<RROutput> monitors;
+ std::vector<RRMode> modes;
#endif
+};
} // namespace Graphics
} // namespace Msp