Avoid X11 frame size query of undecorated windows

This also works around an issue where Xfwm4 ignores Motif hints when
calculating frame extents.
master
Camilla Berglund ago%!(EXTRA string=9 years)
parent 6494da3101
commit 5dc9d0f581
  1. 3
      src/x11_window.c

@ -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…
Cancel
Save