mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
X11: Fix window made non-floating by being hidden
The previous implementation was based on the incorrect assumption that the _NET_WM_STATE_ABOVE state is always retained on unmapped windows. According to EWMH the WM should remove the _NET_WM_STATE property when a window is unmapped. This commit moves the adding of _NET_WM_STATE_ABOVE to before mapping the window during glfwShowWindow. The logic for removing _NET_WM_STATE_ABOVE from hidden windows is retained, as EWMH still allows WMs to leave the window property on unmapped window. Fixes #2276
This commit is contained in:
@@ -153,6 +153,7 @@ information on what to include when reporting a bug.
|
||||
- [X11] Bugfix: Prevent BadWindow when creating small windows with a content scale
|
||||
less than 1 (#2754)
|
||||
- [X11] Bugfix: Clamp width and height to >= 1 to prevent BadValue error and app exit
|
||||
- [X11] Bugfix: Floating windows silently became non-floating when hidden (#2276)
|
||||
- [Linux] Bugfix: The header for `ioctl` was only implicitly included (#2778)
|
||||
- [Null] Added Vulkan 'window' surface creation via `VK_EXT_headless_surface`
|
||||
- [Null] Added EGL context creation on Mesa via `EGL_MESA_platform_surfaceless`
|
||||
|
||||
Reference in New Issue
Block a user