glfw/src
Camilla Löwy 729c9988d0 Win32: Fix content area rescaling on older systems
GLFW_SCALE_TO_MONITOR had no effect on Windows 8.1 up to and including
Windows 10 version 1607 (Anniversary Update), despite those having
support for per-monitor DPI.

That done was to avoid handling systems that have non-client scaling,
introduced in Windows 10 version 1607, without reliable overriding of
the new window size, introduced in Windows 10 version 1703 (Creators
Update).  Both are needed to keep the content area at a fixed size for
windows that have GLFW_SCALE_TO_MONITOR disabled.

This change enables window rescaling on Windows 8.1 and all later
versions but disables non-client scaling for unscaled windows on Windows
10 version 1607.  Versions after 1607 are unaffected.

Fixes #1511.
2021-02-10 20:41:40 +01:00
..
CMakeLists.txt Cocoa: Fix install name for installed dylib 2021-01-18 23:52:27 +01:00
cocoa_init.m Cocoa: Fix console apps getting a dock icon 2021-02-10 18:14:32 +01:00
cocoa_joystick.h Make joystick platform code init on demand 2020-07-21 17:38:56 +02:00
cocoa_joystick.m Cleanup 2020-07-21 17:54:07 +02:00
cocoa_monitor.m Cocoa: Unify CG display to NS screen mapping 2021-01-18 23:52:27 +01:00
cocoa_platform.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
cocoa_time.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
cocoa_window.m Use switch statement instead of if-else-chain for cursor shapes 2020-12-08 15:45:14 +01:00
context.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
egl_context.c EGL: Add support for EGL_ANGLE_platform_angle 2020-06-29 00:02:22 +02:00
egl_context.h EGL: Add support for EGL_ANGLE_platform_angle 2020-06-29 00:02:22 +02:00
glfw.rc.in Win32: Add VERSIONINFO resource to GLFW DLL 2019-12-11 21:02:08 +01:00
glfw_config.h.in Cocoa: Select Vulkan surface extension at runtime 2020-01-16 21:53:18 +01:00
glx_context.c Remove pointless comments 2019-05-24 14:43:49 +02:00
glx_context.h Replace some tabs with spaces 2019-06-16 16:57:09 +02:00
init.c Make joystick platform code init on demand 2020-07-21 17:38:56 +02:00
input.c Return NULL instead of GLFW_FALSE where appropriate 2020-07-23 22:13:11 +02:00
internal.h Fix indentation in internal.h 2020-12-15 02:12:20 +01:00
linux_joystick.c Cleanup 2020-07-21 17:54:07 +02:00
linux_joystick.h Make joystick platform code init on demand 2020-07-21 17:38:56 +02:00
mappings.h Remove mappings for GUID used by different devices 2019-11-11 22:37:18 +01:00
mappings.h.in Start 3.4 2019-04-16 23:08:39 +02:00
monitor.c Fix comparison of video modes of equal area 2019-09-01 21:57:06 +02:00
nsgl_context.h NSGL: Remove problematic swap interval workaround 2019-12-20 09:46:48 +01:00
nsgl_context.m Cocoa: Fix call to NSWindow from non-main threads 2020-04-30 22:44:54 +02:00
null_init.c Null: Make platform more conformant 2020-06-02 22:40:09 +02:00
null_joystick.c Make _glfwPlatformInitJoysticks() return the correct type in null_joystick 2020-08-08 22:51:50 +02:00
null_joystick.h Fix -Wextra-semi warnings 2019-10-17 20:09:38 +02:00
null_monitor.c Null: Fix out parameters not being set 2020-08-19 19:31:55 +02:00
null_platform.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
null_window.c Null: Fix out parameters not being set 2020-08-19 19:31:55 +02:00
osmesa_context.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
osmesa_context.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
posix_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
posix_thread.h Start 3.4 2019-04-16 23:08:39 +02:00
posix_time.c Fix POSIX conformance issues for clock_gettime 2019-12-15 18:15:40 +01:00
posix_time.h Start 3.4 2019-04-16 23:08:39 +02:00
vulkan.c Cocoa: Add fully dynamic loading of Vulkan loader 2020-01-16 22:15:30 +01:00
wgl_context.c Remove pointless comments 2019-05-24 14:43:49 +02:00
wgl_context.h WGL: Remove unused constants 2020-02-10 17:44:57 +01:00
win32_init.c Win32: Disable fb transparency when it is broken 2020-07-29 15:21:45 +02:00
win32_joystick.c Cleanup 2020-07-21 17:54:07 +02:00
win32_joystick.h Make joystick platform code init on demand 2020-07-21 17:38:56 +02:00
win32_monitor.c Win32: Update all monitor handles on config change 2020-10-05 23:24:12 +02:00
win32_platform.h Win32: Filter out duplicate size events 2020-11-11 19:10:19 +01:00
win32_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
win32_time.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
win32_window.c Win32: Fix content area rescaling on older systems 2021-02-10 20:41:40 +01:00
window.c Formatting 2020-08-23 18:33:57 +02:00
wl_init.c Wayland: Move 96 DPI default to outputHandleMode 2020-12-09 19:11:40 +01:00
wl_monitor.c Wayland: Move 96 DPI default to outputHandleMode 2020-12-09 19:11:40 +01:00
wl_platform.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
wl_window.c Use switch statement instead of if-else-chain for cursor shapes 2020-12-08 15:45:14 +01:00
x11_init.c Make joystick platform code init on demand 2020-07-21 17:38:56 +02:00
x11_monitor.c Fix typos 2020-06-23 16:41:37 +02:00
x11_platform.h X11: Include X Shape extension headers 2020-07-15 18:00:00 +02:00
x11_window.c Use switch statement instead of if-else-chain for cursor shapes 2020-12-08 15:45:14 +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