wayland: Use correct output when sending xdg_toplevel.configure_bounds
We should use the next output rather than the current output.
This commit is contained in:
parent
0be0e8a7b0
commit
6cc4b799f4
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue