diff --git a/src/layershellv1integration.cpp b/src/layershellv1integration.cpp index 147cf6c5c7..a55f961e07 100644 --- a/src/layershellv1integration.cpp +++ b/src/layershellv1integration.cpp @@ -103,7 +103,7 @@ static void rearrangeLayer(const QList &clients, QRect *wo QRect bounds; if (shellSurface->exclusiveZone() == -1) { - bounds = workspace()->clientArea(ScreenArea, client); + bounds = client->output()->geometry(); } else { bounds = *workArea; }