diff --git a/src/x11_window.c b/src/x11_window.c index 1ee5f1ff..65cc8a55 100644 --- a/src/x11_window.c +++ b/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;