mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 23:54:37 +00:00
X11: Fix missing checks for EWMH attention atoms
(cherry picked from commit 9b6d68ec70
)
This commit is contained in:
parent
8dd40f1c48
commit
5615c16439
@ -2420,6 +2420,9 @@ void _glfwPlatformHideWindow(_GLFWwindow* window)
|
|||||||
|
|
||||||
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
|
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
|
if (!_glfw.x11.NET_WM_STATE || !_glfw.x11.NET_WM_STATE_DEMANDS_ATTENTION)
|
||||||
|
return;
|
||||||
|
|
||||||
sendEventToWM(window,
|
sendEventToWM(window,
|
||||||
_glfw.x11.NET_WM_STATE,
|
_glfw.x11.NET_WM_STATE,
|
||||||
_NET_WM_STATE_ADD,
|
_NET_WM_STATE_ADD,
|
||||||
|
Loading…
Reference in New Issue
Block a user