Commit 6cc4b799 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Use correct output when sending xdg_toplevel.configure_bounds

We should use the next output rather than the current output.
parent 0be0e8a7
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment