Update glfw from upstream, to allow kitty to react to Xft.dpi changes

This commit is contained in:
Kovid Goyal
2018-06-11 07:12:06 +05:30
parent 7cf7d94bba
commit 93b1919a38
3 changed files with 49 additions and 4 deletions

5
glfw/x11_platform.h vendored
View File

@@ -283,6 +283,9 @@ typedef struct _GLFWlibraryX11
Atom ATOM_PAIR;
Atom GLFW_SELECTION;
// XRM database atom
Atom RESOURCE_MANAGER;
struct {
GLFWbool available;
void* handle;
@@ -408,7 +411,6 @@ typedef struct _GLFWcursorX11
} _GLFWcursorX11;
void _glfwPollMonitorsX11(void);
void _glfwSetVideoModeX11(_GLFWmonitor* monitor, const GLFWvidmode* desired);
void _glfwRestoreVideoModeX11(_GLFWmonitor* monitor);
@@ -425,4 +427,5 @@ void _glfwGrabErrorHandlerX11(void);
void _glfwReleaseErrorHandlerX11(void);
void _glfwInputErrorX11(int error, const char* message);
void _glfwGetSystemContentScaleX11(float* xscale, float* yscale, GLFWbool bypass_cache);
void _glfwPushSelectionToManagerX11(void);