Commit 4df0a2b3 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

X11: Cleanup

The window state action is not an atom.

(cherry picked from commit 4e70c95aa3bcb666320e17f2097f33d18a7fc225)
parent 94bb2a13
......@@ -2619,7 +2619,7 @@ void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool 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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment