struct Monitor
{
unsigned index;
+ std::string name;
std::list<const VideoMode *> video_modes;
const VideoMode *desktop_mode;
VideoRotation desktop_rotation;
monitors.push_back(Monitor());
Monitor &monitor = monitors.back();
monitor.index = monitors.size()-1;
+ monitor.name = adapter_dev.DeviceString;
priv->monitors.push_back(adapter_dev.DeviceName);
if(adapter_dev.StateFlags&DISPLAY_DEVICE_PRIMARY_DEVICE)
monitors.push_back(Monitor());
Monitor &monitor = monitors.back();
monitor.index = monitors.size()-1;
+ monitor.name.assign(output->name, output->nameLen);
priv->monitors.push_back(res->outputs[i]);
if(crtc)