diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp --- a/xdgshellclient.cpp +++ b/xdgshellclient.cpp @@ -1259,18 +1259,15 @@ void XdgShellClient::resizeWithChecks(int w, int h, ForceGeometry_t force) { - Q_UNUSED(force) QRect area = workspace()->clientArea(WorkArea, this); // don't allow growing larger than workarea if (w > area.width()) { w = area.width(); } if (h > area.height()) { h = area.height(); } - if (m_xdgShellSurface) { - m_xdgShellSurface->configure(xdgSurfaceStates(), QSize(w, h)); - } + setGeometry(x(), y(), w, h, force); } void XdgShellClient::unmap()