From e6ccc2d178672cf5782ac1cbb47f8b449e024c92 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 15 Apr 2021 08:57:47 +0530 Subject: [PATCH] Fix #3485 --- glfw/x11_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/x11_window.c b/glfw/x11_window.c index f3648efc8..76815292c 100644 --- a/glfw/x11_window.c +++ b/glfw/x11_window.c @@ -232,7 +232,7 @@ updateNormalHints(_GLFWwindow* window, int width, int height) if (!window->monitor) { - if (window->resizable && !window->x11.maximized) + if (window->resizable) { if (window->minwidth != GLFW_DONT_CARE && window->minheight != GLFW_DONT_CARE) @@ -259,7 +259,7 @@ updateNormalHints(_GLFWwindow* window, int width, int height) } if (window->widthincr != GLFW_DONT_CARE && - window->heightincr != GLFW_DONT_CARE) + window->heightincr != GLFW_DONT_CARE && !window->x11.maximized) { hints->flags |= PResizeInc; hints->width_inc = window->widthincr;