summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-12-26 16:10:50 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-12-26 16:10:50 +0100
commit95c66a04884bf8bac906140e5a856a93d0193cfe (patch)
treeb197b615bd38b9cfbd17ee3d85ca56a3dae5519a /src
parent61208e7792174dd5df75f41351ea64acc7fcf4d8 (diff)
Wayland: fix a border case in member function Fl_Wayland_Window_Driver::resize()
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
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);
}
}