Fix compilation issues on X11, WL.

This commit is contained in:
ws909 2023-02-24 00:22:58 +01:00
parent ac979c6d7f
commit a30e29fa0a
3 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@
#include "internal.h"
#include <stdlib.h>
#include <string.h>
static void applySizeLimits(_GLFWwindow* window, int* width, int* height)
{

View File

@ -2775,9 +2775,10 @@ const char* _glfwGetClipboardStringWayland(void)
return _glfw.wl.clipboardString;
}
void _glfwSetThemeWayland(_GLFWwindow* window, _GLFWtheme* theme)
void _glfwSetThemeWayland(_GLFWwindow* window, const _GLFWtheme* theme)
{
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, NULL);
// TODO: implement
}
_GLFWtheme* _glfwGetThemeWayland(_GLFWwindow* window, int inlineDefaults)

View File

@ -3085,6 +3085,7 @@ const char* _glfwGetClipboardStringX11(void)
void _glfwSetThemeX11(_GLFWwindow* window, const _GLFWtheme* theme)
{
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, NULL);
// TODO: implement
}
_GLFWtheme* _glfwGetThemeX11(_GLFWwindow* window, int inlineDefaults)