diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-27 16:53:43 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-27 16:53:43 +0200 |
| commit | f77c4737bbfa8104f56c19a608258ec557a2994a (patch) | |
| tree | 33adeb76de907324eff8ce67bb04bd4b0c3d845c /src/Fl_x.cxx | |
| parent | d6832f210ca7e085742edaebc8a7884ce82edf67 (diff) | |
Fix for issue #471: Different Fl_Window::resize() behavior between v1.3.8 and v1.4
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 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 { |
