mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
X11: Cleanup
The window state action is not an atom.
(cherry picked from commit 4e70c95aa3
)
This commit is contained in:
parent
94bb2a138e
commit
4df0a2b38e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user