diff --git a/docs/changelog.rst b/docs/changelog.rst index a8e26c031..0ba0879f5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -29,6 +29,10 @@ To update |kitty|, :doc:`follow the instructions `. - Add an option to control the default :opt:`update_check_interval` when building kitty packages +- Wayland: Fix resizing the window on a compositor that does not provide + server side window decorations, such a GNOME or Weston not working + correctly (:iss:`1659`) + 0.14.1 [2019-05-29] --------------------- diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 1f9521404..1c3e6a8a3 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -551,7 +551,7 @@ static void xdgToplevelHandleConfigure(void* data, } } window->wl.fullscreened = fullscreen; - if (maximized && !fullscreen) { + if (!fullscreen) { if (window->decorated && !window->wl.decorations.serverSide && window->wl.decorations.buffer) { width -= _GLFW_DECORATION_HORIZONTAL; height -= _GLFW_DECORATION_VERTICAL;