summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index e2e0f8237..a8912f31f 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -977,3 +977,11 @@ void Fl_Window::is_maximized_(bool b) {
if (b) set_flag(MAXIMIZED);
else clear_flag(MAXIMIZED);
}
+
+/** Allow this subwindow to expand outside the area of its parent window.
+ This is presently implemented only for the Wayland platform to help support window docking.
+ \since 1.4.0
+*/
+void Fl_Window::allow_expand_outside_parent() {
+ if (parent()) pWindowDriver->allow_expand_outside_parent();
+}