diff --git a/src/workspace.cpp b/src/workspace.cpp index 0f605fd656..67215085e4 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -2324,7 +2324,7 @@ QRect Workspace::clientArea(clientAreaOption opt, const AbstractOutput *output, QRect Workspace::clientArea(clientAreaOption opt, const Toplevel *window) const { - return clientArea(opt, window, window->frameGeometry().center()); + return clientArea(opt, window, window->output()); } QRect Workspace::clientArea(clientAreaOption opt, const Toplevel *window, const AbstractOutput *output) const