From d792ed21f55a8fadbcb0edb99647e5fb3ef01669 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 2 Jun 2024 08:28:40 +0200 Subject: =?UTF-8?q?=20Fix=20Child=20Windows=20under=20Wayland=20are=20clip?= =?UTF-8?q?ped=20on=20resizing=20=E2=80=A6=20(#987)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Fl_Window.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Fl_Window.cxx') 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(); +} -- cgit v1.2.3