mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
@@ -359,6 +359,8 @@ static void detectEWMH(void)
|
||||
return;
|
||||
}
|
||||
|
||||
_glfwGrabXErrorHandler();
|
||||
|
||||
// It should be the ID of a child window (of the root)
|
||||
// Then we look for the same property on the child window
|
||||
if (_glfwGetWindowProperty(*windowFromRoot,
|
||||
@@ -371,6 +373,10 @@ static void detectEWMH(void)
|
||||
return;
|
||||
}
|
||||
|
||||
_glfwReleaseXErrorHandler();
|
||||
if (_glfw.x11.errorCode != Success)
|
||||
return;
|
||||
|
||||
// It should be the ID of that same child window
|
||||
if (*windowFromRoot != *windowFromChild)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user