mirror of
https://github.com/glfw/glfw.git
synced 2026-01-12 07:43:16 +01:00
X11: Fix missing checks for EWMH attention atoms
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user