Handle scaling factor (hidpi) correctly

This commit is contained in:
Emmanuel Gil Peyrot
2017-12-22 18:22:36 +01:00
committed by linkmauve
parent f51c219b1c
commit 60e82ba472
2 changed files with 35 additions and 34 deletions
+2
View File
@@ -143,6 +143,8 @@ typedef xkb_keysym_t (* PFN_xkb_compose_state_get_one_sym)(struct xkb_compose_st
#define _GLFW_DECORATION_WIDTH 4
#define _GLFW_DECORATION_TOP 24
#define _GLFW_DECORATION_VERTICAL (_GLFW_DECORATION_TOP + _GLFW_DECORATION_WIDTH)
#define _GLFW_DECORATION_HORIZONTAL (2 * _GLFW_DECORATION_WIDTH)
typedef enum _GLFWdecorationSideWayland
{