GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit ba6522d3 authored by Vasiliy Nuzha's avatar Vasiliy Nuzha Committed by LRN

Fix monitors enumeration bug

Fix monitors enumeration bug. By default used MONITORINFOEXW (UTF-16 Build) with wrong structure size
parent 1914e655
......@@ -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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment