Commit 7f406f2d authored by Vasiliy Nuzha's avatar Vasiliy Nuzha Committed by Руслан Ижбулатов

Fix monitors enumeration bug

Fix monitors enumeration bug. By default used MONITORINFOEXW (UTF-16 Build) with wrong structure size
parent ea205f75
......@@ -83,7 +83,7 @@ enum_monitor (HMONITOR hmonitor,
monitor = _gdk_monitors + *index;
monitor_info.cbSize = sizeof (MONITORINFOEX);
monitor_info.cbSize = sizeof (MONITORINFOEXA2);
GetMonitorInfoA (hmonitor, (MONITORINFO *) &monitor_info);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment