From 95c66a04884bf8bac906140e5a856a93d0193cfe Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:10:50 +0100 Subject: [PATCH] Wayland: fix a border case in member function Fl_Wayland_Window_Driver::resize() --- src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 79d26a03b..285367a21 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -1929,6 +1929,7 @@ void Fl_Wayland_Window_Driver::resize(int X, int Y, int W, int H) { wl_subsurface_set_position(fl_win->subsurface, X * f, Y * f); wl_surface_commit(parent_xid->wl_surface); } else if (!xid_rect) { + if (is_a_move) wl_subsurface_set_position(fl_win->subsurface, X * f, Y * f); wl_surface_commit(parent_xid->wl_surface); } } -- GitLab