diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-03 20:53:16 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-03 20:53:16 +0100 |
| commit | bbbc3a739c9843ad10c7077e1cf1307df5795463 (patch) | |
| tree | 70d56c8a5eb061a0218a2a67bbf3a7cc21471508 /src/Fl_x.cxx | |
| parent | 130f5b6dc1c2258b1a05c9319d796b96dc2d4f7e (diff) | |
X11: Window scaling makes window lose resizable status if resizable_ is NULL (#923)
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
