diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Group.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 5232f6eaa..2576efea7 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -837,7 +837,8 @@ void Fl_Group::resize(int X, int Y, int W, int H) { if (!resizable() || (dw==0 && dh==0)) { - if (as_window() && !parent()) // top window + // top window and subwindows must not change the position of their children + if (as_window()) dx = dy = 0; // Check if there's anything to do, otherwise don't call resize(). |
