From bbbc3a739c9843ad10c7077e1cf1307df5795463 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 3 Mar 2024 20:53:16 +0100 Subject: X11: Window scaling makes window lose resizable status if resizable_ is NULL (#923) --- src/Fl_x.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 632101163..cec797fc9 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2182,7 +2182,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) { - if (!pWindow->resizable()) pWindow->size_range(w(),h(),w(),h()); + if (!is_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