Fix #3485
This commit is contained in:
parent
db719eafac
commit
e6ccc2d178
4
glfw/x11_window.c
vendored
4
glfw/x11_window.c
vendored
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user