summaryrefslogtreecommitdiff
path: root/src/Fl_Group.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-07-01 17:02:27 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-07-01 17:02:27 +0200
commitb5516449a687f8493e5fd9682511e9611a5b4fb7 (patch)
tree68dc25f67389d0c8bac6dd2ac2ccc3f2e7df61f5 /src/Fl_Group.cxx
parentb55dc47aaed32f7f44cd2ded9836302d791875d6 (diff)
Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)
This commit removes changes in class Fl_Group introduced in 1c6a0c1.
Diffstat (limited to 'src/Fl_Group.cxx')
-rw-r--r--src/Fl_Group.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index e6d942e32..2576efea7 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -809,8 +809,6 @@ int* Fl_Group::sizes()
return sizes_;
}
-int Fl_Group::group_resize_depth_ = 0;
-
/**
Resizes the Fl_Group widget and all of its children.
@@ -859,7 +857,6 @@ void Fl_Group::resize(int X, int Y, int W, int H) {
// Part 2: here we definitely have a resizable() widget, resize children
else if (children_) {
- group_resize_depth_++;
// get changes in size/position from the initial size:
dx = X - p->x();
@@ -908,7 +905,6 @@ void Fl_Group::resize(int X, int Y, int W, int H) {
o->resize(L+dx, T+dy, R-L, B-T);
}
- group_resize_depth_--;
} // End of part 2: we have a resizable() widget
}