summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_x.cxx2
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 {