mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
X11: Fix invalid read when clearing GLFW_FLOATING
This commit is contained in:
parent
9b6d68ec70
commit
0b652a44d2
@ -149,6 +149,7 @@ information on what to include when reporting a bug.
|
|||||||
- [X11] Bugfix: Decorations could not be enabled after window creation (#1566)
|
- [X11] Bugfix: Decorations could not be enabled after window creation (#1566)
|
||||||
- [X11] Bugfix: Content scale fallback value could be inconsistent (#1578)
|
- [X11] Bugfix: Content scale fallback value could be inconsistent (#1578)
|
||||||
- [X11] Bugfix: `glfwMaximizeWindow` had no effect on hidden windows
|
- [X11] Bugfix: `glfwMaximizeWindow` had no effect on hidden windows
|
||||||
|
- [X11] Bugfix: Clearing `GLFW_FLOATING` on a hidden window caused invalid read
|
||||||
- [Wayland] Bugfix: The `GLFW_HAND_CURSOR` shape used the wrong image (#1432)
|
- [Wayland] Bugfix: The `GLFW_HAND_CURSOR` shape used the wrong image (#1432)
|
||||||
- [Wayland] Bugfix: `CLOCK_MONOTONIC` was not correctly enabled
|
- [Wayland] Bugfix: `CLOCK_MONOTONIC` was not correctly enabled
|
||||||
- [POSIX] Bugfix: `CLOCK_MONOTONIC` was not correctly tested for or enabled
|
- [POSIX] Bugfix: `CLOCK_MONOTONIC` was not correctly tested for or enabled
|
||||||
|
@ -2668,7 +2668,7 @@ void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
|
|||||||
|
|
||||||
XChangeProperty(_glfw.x11.display, window->x11.handle,
|
XChangeProperty(_glfw.x11.display, window->x11.handle,
|
||||||
_glfw.x11.NET_WM_STATE, XA_ATOM, 32,
|
_glfw.x11.NET_WM_STATE, XA_ATOM, 32,
|
||||||
PropModeReplace, (unsigned char*) &states, count);
|
PropModeReplace, (unsigned char*) states, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
XFree(states);
|
XFree(states);
|
||||||
|
Loading…
Reference in New Issue
Block a user