Commit 5615c164 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

X11: Fix missing checks for EWMH attention atoms

(cherry picked from commit 9b6d68ec70da775c4e2bf6481f86117cf9d9f551)
parent 8dd40f1c
......@@ -2420,6 +2420,9 @@ void _glfwPlatformHideWindow(_GLFWwindow* window)
void _glfwPlatformRequestWindowAttention(_GLFWwindow* window)
{
if (!_glfw.x11.NET_WM_STATE || !_glfw.x11.NET_WM_STATE_DEMANDS_ATTENTION)
return;
sendEventToWM(window,
_glfw.x11.NET_WM_STATE,
_NET_WM_STATE_ADD,
......
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