From 6cc4b799f4bbbdb507c97fa9750c6955b62700ba Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 27 Jun 2022 17:22:19 +0300 Subject: [PATCH] wayland: Use correct output when sending xdg_toplevel.configure_bounds We should use the next output rather than the current output. --- src/xdgshellwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 6bd5681ce7..bb7f46866c 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -865,7 +865,7 @@ XdgSurfaceConfigure *XdgToplevelWindow::sendRoleConfigure() const } if (nextClientSize.isEmpty()) { - QSizeF bounds = workspace()->clientArea(PlacementArea, this, output()).size(); + QSizeF bounds = workspace()->clientArea(PlacementArea, this, moveResizeOutput()).size(); bounds.rwidth() -= framePadding.width(); bounds.rheight() -= framePadding.height(); m_shellSurface->sendConfigureBounds(bounds.toSize());