glfw/src
Camilla Löwy 399c082033 X11: Fix content scale fallback value on KDE
KDE sometimes removes the Xft.dpi resource when it would be set to the
X11 default value of 96, causing GLFW to fall back to a value calculated
from the core display sizes in pixels and mm in a desktop environment
that supports Xft.dpi.

This moves to a hardcoded fallback value of 96 on the assumption that
there are more people running KDE with 96 DPI than there are people
running desktop environments that do not support Xft.dpi.

All of this is terrible please send help.

Fixes #1578.

(cherry picked from commit 75294462b3)
2019-11-05 18:03:11 +01:00
..
CMakeLists.txt Remove stray characters from hardcoded CFLAGS 2019-11-05 18:01:18 +01:00
cocoa_init.m Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
cocoa_joystick.h Fix -Wextra-semi warnings 2019-11-05 17:59:15 +01:00
cocoa_joystick.m Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
cocoa_monitor.m Use the correct type in a for loop 2019-11-05 17:59:08 +01:00
cocoa_platform.h Unify key name string handling 2019-09-23 15:26:23 +02:00
cocoa_time.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
cocoa_window.m Cocoa: Fix glfwSetWindowSize anchor point 2019-09-23 15:27:00 +02:00
context.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
egl_context.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
egl_context.h Replace some tabs with spaces 2019-07-16 14:38:14 +02:00
glfw3.pc.in Move to the modern CMake project version option 2019-05-19 18:30:58 +02:00
glfw3Config.cmake.in Include imported targets into module config file 2016-02-02 06:00:18 +01:00
glfw_config.h.in Mir: Remove this experimental backend 2018-10-05 11:59:26 +02:00
glx_context.c Remove pointless comments 2019-05-27 16:34:23 +02:00
glx_context.h Replace some tabs with spaces 2019-07-16 14:38:14 +02:00
init.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
input.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
internal.h Replace some tabs with spaces 2019-07-16 14:38:14 +02:00
linux_joystick.c Convert some declarations to C99 style 2019-07-16 14:38:26 +02:00
linux_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
mappings.h Fix copyright years (somewhat) 2019-04-15 20:50:00 +02:00
mappings.h.in Fix copyright years (somewhat) 2019-04-15 20:50:00 +02:00
monitor.c Fix comparison of video modes of equal area 2019-09-23 15:26:37 +02:00
nsgl_context.h Fix copyright years (somewhat) 2019-04-15 20:50:00 +02:00
nsgl_context.m Remove pointless comments 2019-05-27 16:34:23 +02:00
null_init.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
null_joystick.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
null_joystick.h Fix -Wextra-semi warnings 2019-11-05 17:59:15 +01:00
null_monitor.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
null_platform.h Fix -Wextra-semi warnings 2019-11-05 17:59:15 +01:00
null_window.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
osmesa_context.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
osmesa_context.h Fix copyright years (somewhat) 2019-04-15 20:50:00 +02:00
posix_thread.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
posix_thread.h Fix copyright years (somewhat) 2019-04-15 20:50:00 +02:00
posix_time.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
posix_time.h Fix copyright years (somewhat) 2019-04-15 20:50:00 +02:00
vulkan.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
wgl_context.c Remove pointless comments 2019-05-27 16:34:23 +02:00
wgl_context.h WGL: Add extension function macro aliases 2019-05-27 16:33:59 +02:00
win32_init.c Fix typos 2019-09-23 15:27:17 +02:00
win32_joystick.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
win32_joystick.h Fix -Wextra-semi warnings 2019-11-05 17:59:15 +01:00
win32_monitor.c Win32: Fix VS static analysis false positive 2019-09-23 15:26:28 +02:00
win32_platform.h Replace some tabs with spaces 2019-07-16 14:38:14 +02:00
win32_thread.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
win32_time.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
win32_window.c Win32: Cleanup keyboard input flag parsing 2019-10-04 02:18:48 +02:00
window.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
wl_init.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
wl_monitor.c Fix typo 2019-07-16 14:39:19 +02:00
wl_platform.h Fix -Wextra-semi warnings 2019-11-05 17:59:15 +01:00
wl_window.c Fix typos 2019-09-23 15:27:17 +02:00
x11_init.c X11: Fix content scale fallback value on KDE 2019-11-05 18:03:11 +01:00
x11_monitor.c Convert some declarations to C99 style 2019-07-16 14:38:26 +02:00
x11_platform.h Unify key name string handling 2019-09-23 15:26:23 +02:00
x11_window.c X11: Fix decoration enabling after window creation 2019-11-05 18:02:03 +01:00
xkb_unicode.c Add C dialect reminders to each source file 2019-05-27 16:33:22 +02:00
xkb_unicode.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00