mirror of
https://github.com/glfw/glfw.git
synced 2024-12-02 00:54:36 +00:00
Fix compilation issues on X11, WL.
This commit is contained in:
parent
ac979c6d7f
commit
a30e29fa0a
@ -30,6 +30,7 @@
|
|||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static void applySizeLimits(_GLFWwindow* window, int* width, int* height)
|
static void applySizeLimits(_GLFWwindow* window, int* width, int* height)
|
||||||
{
|
{
|
||||||
|
@ -2775,9 +2775,10 @@ const char* _glfwGetClipboardStringWayland(void)
|
|||||||
return _glfw.wl.clipboardString;
|
return _glfw.wl.clipboardString;
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwSetThemeWayland(_GLFWwindow* window, _GLFWtheme* theme)
|
void _glfwSetThemeWayland(_GLFWwindow* window, const _GLFWtheme* theme)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, NULL);
|
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, NULL);
|
||||||
|
// TODO: implement
|
||||||
}
|
}
|
||||||
|
|
||||||
_GLFWtheme* _glfwGetThemeWayland(_GLFWwindow* window, int inlineDefaults)
|
_GLFWtheme* _glfwGetThemeWayland(_GLFWwindow* window, int inlineDefaults)
|
||||||
|
@ -3085,6 +3085,7 @@ const char* _glfwGetClipboardStringX11(void)
|
|||||||
void _glfwSetThemeX11(_GLFWwindow* window, const _GLFWtheme* theme)
|
void _glfwSetThemeX11(_GLFWwindow* window, const _GLFWtheme* theme)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, NULL);
|
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, NULL);
|
||||||
|
// TODO: implement
|
||||||
}
|
}
|
||||||
|
|
||||||
_GLFWtheme* _glfwGetThemeX11(_GLFWwindow* window, int inlineDefaults)
|
_GLFWtheme* _glfwGetThemeX11(_GLFWwindow* window, int inlineDefaults)
|
||||||
|
Loading…
Reference in New Issue
Block a user