diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp index 13b60ee546..36e49b4734 100644 --- a/xdgshellclient.cpp +++ b/xdgshellclient.cpp @@ -1259,7 +1259,6 @@ void XdgShellClient::handleCommitted() 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()) { @@ -1268,9 +1267,7 @@ void XdgShellClient::resizeWithChecks(int w, int h, ForceGeometry_t force) 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()