From f77c4737bbfa8104f56c19a608258ec557a2994a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:53:43 +0200 Subject: Fix for issue #471: Different Fl_Window::resize() behavior between v1.3.8 and v1.4 --- src/Fl_x.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_x.cxx') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 38ab036c0..d29bf82c5 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2130,7 +2130,7 @@ void Fl_X11_Window_Driver::resize(int X,int Y,int W,int H) { if (resize_from_program && shown()) { float s = Fl::screen_driver()->scale(screen_num()); if (is_a_resize) { - size_range(); // calls sendxjunk() + if (!pWindow->resizable()) pWindow->size_range(w(),h(),w(),h()); if (is_a_move) { XMoveResizeWindow(fl_display, fl_xid(pWindow), rint(X*s), rint(Y*s), W>0 ? W*s : 1, H>0 ? H*s : 1); } else { -- cgit v1.2.3