You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (w > 0 && h > 0) // Workaround a small GLFW issue reporting zero on monitor changes: https://github.com/glfw/glfw/pull/1761
451
+
{
452
+
monitor.WorkPos = ImVec2((float)x, (float)y);
453
+
monitor.WorkSize = ImVec2((float)w, (float)h);
454
+
}
455
455
#endif
456
456
#if GLFW_HAS_PER_MONITOR_DPI
457
457
// Warning: the validity of monitor DPI information on Windows depends on the application DPI awareness settings, which generally needs to be set in the manifest or at runtime.
0 commit comments