Commit c9d691e6 authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by linkmauve
Browse files

Fix window size calculation when wp_viewporter isn’t supported

parent 60e82ba4
......@@ -58,7 +58,7 @@ static void handleConfigure(void* data,
if (!window->monitor)
if (window->decorated)
if (_glfw.wl.viewporter && window->decorated)
......@@ -308,7 +308,7 @@ static void resizeWindow(_GLFWwindow* window)
_glfwInputFramebufferSize(window, scaledWidth, scaledHeight);
_glfwInputWindowContentScale(window, scale, scale);
if (!_glfw.wl.viewporter || !window->
if (!window->
// Top decoration.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment