1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2026-04-01 08:45:05 -04:00
glfw/src
Camilla Löwy fbfd7e65c8 Win32: Fix bad content scale on monitor disconnect
The monitor handle could have become invalid just before the call to
GetDpiForMonitor.  It was possible for both window and monitor content
scale queries.

This ensures both that an appropriate error is emitted and that the
retrieved values are zero on error.

Fixes #1615
2021-12-01 21:13:00 +01:00
..
CMakeLists.txt Add glfwInitVulkanLoader 2021-10-27 18:22:05 +02:00
cocoa_init.m Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
cocoa_joystick.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
cocoa_joystick.m Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
cocoa_monitor.m Cocoa: Use MACH_PORT_NULL for default IOKit port 2021-11-22 21:30:53 +01:00
cocoa_platform.h Cocoa: Use MACH_PORT_NULL for default IOKit port 2021-11-22 21:30:53 +01:00
cocoa_time.c Make timer init part of platform API 2021-10-12 12:54:36 +02:00
cocoa_time.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
cocoa_window.m Add runtime platform selection 2021-10-13 21:47:11 +02:00
context.c Move single/double-buffer filtering to backends 2021-05-14 19:02:25 +02:00
egl_context.c Fix context API checks in native access functions 2021-10-23 16:20:18 +03:00
glfw.rc.in Win32: Add VERSIONINFO resource to GLFW DLL 2019-12-11 21:02:08 +01:00
glx_context.c Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
init.c Update comments for global mutable data 2021-11-25 23:24:39 +01:00
input.c Fix invalid pointer conversions 2021-10-27 18:22:05 +02:00
internal.h Add glfwInitVulkanLoader 2021-10-27 18:22:05 +02:00
linux_joystick.c Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
linux_joystick.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
mappings.h Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
mappings.h.in Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
monitor.c Fix invalid pointer conversions 2021-10-27 18:22:05 +02:00
nsgl_context.m Fix context API checks in native access functions 2021-10-23 16:20:18 +03:00
null_init.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
null_joystick.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
null_joystick.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
null_monitor.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
null_platform.h Null: Remove unused function 2021-10-27 18:22:05 +02:00
null_window.c Null: Remove unused function 2021-10-27 18:22:05 +02:00
osmesa_context.c Fix context API checks in native access functions 2021-10-23 16:20:18 +03:00
platform.c Gather Null specific platform selection logic 2021-11-25 23:24:39 +01:00
platform.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
posix_module.c Make dynamic module loading part of platform API 2021-10-12 12:54:36 +02:00
posix_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
posix_thread.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
posix_time.c Make timer init part of platform API 2021-10-12 12:54:36 +02:00
posix_time.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
vulkan.c Add glfwInitVulkanLoader 2021-10-27 18:22:05 +02:00
wgl_context.c WGL: Limit DWM swap interval hack to Vista and 7 2021-10-27 18:22:05 +02:00
win32_init.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_joystick.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_joystick.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_module.c Make dynamic module loading part of platform API 2021-10-12 12:54:36 +02:00
win32_monitor.c Win32: Fix bad content scale on monitor disconnect 2021-12-01 21:13:00 +01:00
win32_platform.h Fix various typos 2021-10-25 23:39:06 +02:00
win32_thread.c Win32: Make thread functions backend independent 2021-10-12 12:54:36 +02:00
win32_thread.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_time.c Win32: Remove timeGetTime fallback for timer 2021-10-12 12:54:37 +02:00
win32_time.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_window.c Formatting 2021-12-01 21:13:00 +01:00
window.c Fix invalid pointer conversions 2021-10-27 18:22:05 +02:00
wl_init.c Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
wl_monitor.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
wl_platform.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
wl_window.c Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
x11_init.c Limit scope of some loop counters in C99 files 2021-10-25 23:39:06 +02:00
x11_monitor.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
x11_platform.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
x11_window.c Cleanup 2021-12-01 21:12:53 +01:00
xkb_unicode.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
xkb_unicode.h Start 3.4 2019-04-16 23:08:39 +02:00