Commit 73dd65f4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix build

parent 65ad7ffb
......@@ -13,6 +13,7 @@
// kwin libs
#include <kwinglplatform.h>
// kwin
#include "abstract_output.h"
#ifdef KWIN_BUILD_ACTIVITIES
#include "activities.h"
#endif
......@@ -2301,7 +2302,7 @@ QRect Workspace::clientArea(clientAreaOption opt, int screen, int desktop) const
QRect Workspace::clientArea(clientAreaOption opt, const AbstractOutput *output, int desktop) const
{
return clientArea(opt, kwinApp()->platform()->enabledOutputs().indexOf(output), desktop);
return clientArea(opt, output->geometry().center(), desktop);
}
QRect Workspace::clientArea(clientAreaOption opt, const QPoint& p, int desktop) const
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment