Skip to content

Commit

Permalink
Wayland: fix a border case in member function Fl_Wayland_Window_Drive…
Browse files Browse the repository at this point in the history
…r::resize()
  • Loading branch information
ManoloFLTK committed Dec 26, 2024
1 parent 61208e7 commit 95c66a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 95c66a0

Please sign in to comment.