X11: Cleanup

From upstream: 4e70c95aa3.
This commit is contained in:
Luflosi 2019-12-18 19:16:35 +01:00
parent 4fc7c4aafc
commit ca2eda2c5b
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0

2
glfw/x11_window.c vendored
View File

@ -2434,7 +2434,7 @@ void _glfwPlatformSetWindowFloating(_GLFWwindow* window, bool enabled)
if (_glfwPlatformWindowVisible(window))
{
const Atom action = enabled ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE;
const long action = enabled ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE;
sendEventToWM(window,
_glfw.x11.NET_WM_STATE,
action,