Remove un-necessary code from Fl_Wayland_Window_Driver::resize() function
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-01-09 11:19:45 +01:00
parent 4908dfd72a
commit 8914914735
@@ -1959,10 +1959,6 @@ void Fl_Wayland_Window_Driver::resize(int X, int Y, int W, int H) {
fl_win->configured_width = W;
fl_win->configured_height = H;
W *= f; H *= f;
if (!pWindow->fullscreen_active()) {
xdg_toplevel_set_min_size(fl_win->xdg_toplevel, W, H);
xdg_toplevel_set_max_size(fl_win->xdg_toplevel, W, H);
}
xdg_surface_set_window_geometry(fl_win->xdg_surface, 0, 0, W, H);
//printf("xdg_surface_set_window_geometry: %dx%d\n",W, H);
}