Avoid X11 frame size query of undecorated windows
This also works around an issue where Xfwm4 ignores Motif hints when calculating frame extents.
This commit is contained in:
parent
6494da3101
commit
5dc9d0f581
@ -1678,6 +1678,9 @@ void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
|
||||
{
|
||||
long* extents = NULL;
|
||||
|
||||
if (window->monitor || !window->decorated)
|
||||
return;
|
||||
|
||||
if (_glfw.x11.NET_FRAME_EXTENTS == None)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user