diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-06-02 08:28:40 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-06-02 08:28:40 +0200 |
| commit | d792ed21f55a8fadbcb0edb99647e5fb3ef01669 (patch) | |
| tree | c0cebfbc440d51a339537ef6a4ed86c02d8f9079 /src/Fl_Window.cxx | |
| parent | 482da12f717040e4c07a0ffb03cc2d3fd6a4d012 (diff) | |
Fix Child Windows under Wayland are clipped on resizing … (#987)
Diffstat (limited to 'src/Fl_Window.cxx')
| -rw-r--r-- | src/Fl_Window.cxx | 8 |
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(); +} |
