mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 08:16:04 +08:00
Wayland: fix a border case in member function Fl_Wayland_Window_Driver::resize()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user