Closed BradyBrenot closed 6 years ago
I have three monitors, but monitors 0 and 2 are disconnected. This would cause a vector bounds exception in isMonitorInsideBounds:
isMonitorInsideBounds
auto &realmonitor = monitors[Index(monitor)];
as monitors.size() == 1 but Index(monitor) == 1
monitors.size() == 1
Index(monitor) == 1
Good catch!
I have three monitors, but monitors 0 and 2 are disconnected. This would cause a vector bounds exception in
isMonitorInsideBounds
:auto &realmonitor = monitors[Index(monitor)];
as
monitors.size() == 1
butIndex(monitor) == 1