X11: Cleanup

From upstream: https://github.com/glfw/glfw/commit/4e70c95aa3bcb666320e17f2097f33d18a7fc225.
This commit is contained in:
Luflosi
2019-12-19 12:35:44 +01:00
parent 4fc7c4aafc
commit ca2eda2c5b
+1 -1
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,