X11: Fix missing checks for EWMH attention atoms
From upstream: 9b6d68ec70.
This commit is contained in:
parent
dd8b97a86c
commit
e40616a0db
3
glfw/x11_window.c
vendored
3
glfw/x11_window.c
vendored
@ -2226,6 +2226,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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user