glfw/src
Camilla Löwy 089ea9af22 Add GLFW_SCALE_TO_MONITOR
This adds the GLFW_SCALE_TO_MONITOR window hint for automatically
resizing the content area of a window to the requested size times the
monitor content scale each time it is placed on a new monitor.  This
only applies to windowed mode windows and includes the initial placement
at window creation.

This hint only has an effect on platforms where screen coordinates and
pixels always map 1:1 such as Windows and X11.  Platforms like macOS
instead change the resolution of the framebuffer independently of the
window size.

Related to #676.
Related to #1115.
2018-09-03 23:12:39 +02:00
..
CMakeLists.txt Add support for Wayland on FreeBSD and other OSes 2018-03-27 22:03:37 +02:00
cocoa_init.m Cleanup 2017-09-17 15:14:22 +02:00
cocoa_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
cocoa_joystick.m Cocoa: Fix Xcode Warnings 2017-11-20 18:04:05 +01:00
cocoa_monitor.m Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
cocoa_platform.h Cleanup 2018-02-07 16:46:58 +01:00
cocoa_time.c Cleanup 2017-03-19 02:46:16 +01:00
cocoa_window.m Fix cursor mode application for unfocused windows 2018-04-25 21:49:26 +02:00
context.c Move more context logic out of glfwCreateWindow 2018-02-06 13:10:41 +01:00
egl_context.c Add GLFW_TRANSPARENT attribute and documentation 2017-09-27 21:54:04 +02:00
egl_context.h Add GLFW_TRANSPARENT and X11 implementation 2017-09-27 21:33:03 +02:00
glfw3.pc.in Blurb nomenclature fix. 2014-02-10 15:33:41 +01:00
glfw3Config.cmake.in Include imported targets into module config file 2016-02-02 06:00:18 +01:00
glfw_config.h.in Wayland: Disable the compose key on old xkbcommon 2017-11-20 18:24:30 +01:00
glx_context.c Use the _glfw_dlopen/dlsym/dlclose define 2018-01-29 02:26:12 +01:00
glx_context.h Add GLFW_TRANSPARENT and X11 implementation 2017-09-27 21:33:03 +02:00
init.c Cleanup 2018-04-12 03:27:06 +02:00
input.c Fix tpyo 2018-05-18 15:22:48 +02:00
internal.h Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
linux_joystick.c Linux: Add support for kernels < v2.6.39 2018-02-07 16:46:58 +01:00
linux_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
mappings.h Move to modern mappings database with modifiers 2018-02-13 18:57:56 +01:00
mappings.h.in Remove trailing whitespace 2017-12-14 15:36:55 +01:00
mir_init.c Linux: Update joystick API in version strings 2017-08-09 12:20:51 +02:00
mir_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
mir_platform.h Rename thread source files 2017-06-08 16:09:14 +02:00
mir_window.c Add GLFW_HOVERED for polling cursor hover state 2018-01-09 18:02:52 +01:00
monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
nsgl_context.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00
nsgl_context.m Cocoa: Fix SDK version numbers 2018-03-20 01:03:37 +01:00
null_init.c Add internal TLS support 2017-03-19 00:52:46 +01:00
null_joystick.c Fix function signature in null joystick backend 2017-07-13 01:28:02 +02:00
null_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
null_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
null_platform.h Rename thread source files 2017-06-08 16:09:14 +02:00
null_window.c Add GLFW_HOVERED for polling cursor hover state 2018-01-09 18:02:52 +01:00
osmesa_context.c Add library name override macros 2017-09-10 21:02:26 +02:00
osmesa_context.h Cocoa: Fix Xcode Warnings 2017-11-20 18:04:05 +01:00
posix_thread.c Rename thread source files 2017-06-08 16:09:14 +02:00
posix_thread.h Rename thread source files 2017-06-08 16:09:14 +02:00
posix_time.c Cleanup 2017-03-19 02:46:16 +01:00
posix_time.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00
vulkan.c Cocoa: Update MoltenVK support for LunarG SDK 2018-03-01 21:45:46 +01:00
wgl_context.c Win32: Clean up DWM detection 2018-08-24 15:06:39 +02:00
wgl_context.h Move context management out of glfwCreateWindow 2018-01-09 17:58:54 +01:00
win32_init.c Win32: Add support for Per-Monitor V2 awareness 2018-09-03 23:12:39 +02:00
win32_joystick.c Fix y-axis sign for XInput thumb sticks 2017-11-14 19:50:59 +01:00
win32_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
win32_monitor.c Win32: Add support for Per-Monitor V2 awareness 2018-09-03 23:12:39 +02:00
win32_platform.h Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
win32_thread.c Rename thread source files 2017-06-08 16:09:14 +02:00
win32_time.c Cleanup 2017-03-19 02:46:16 +01:00
win32_window.c Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
window.c Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
wl_init.c Add support for Wayland on FreeBSD and other OSes 2018-03-27 22:03:37 +02:00
wl_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
wl_platform.h Add support for Wayland on FreeBSD and other OSes 2018-03-27 22:03:37 +02:00
wl_window.c Prevent resizing smaller than 1×1 2018-02-25 16:54:44 +01:00
x11_init.c X11: Add support for Cygwin/X sonames 2018-04-25 21:50:51 +02:00
x11_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
x11_platform.h Cleanup 2018-02-07 16:46:58 +01:00
x11_window.c Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
xkb_unicode.c Cleanup 2017-05-17 22:26:15 +02:00
xkb_unicode.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00