mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Fix #3485
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user