diff --git a/scripting/workspace_wrapper.cpp b/scripting/workspace_wrapper.cpp index f610139cef..0fdfcc576f 100644 --- a/scripting/workspace_wrapper.cpp +++ b/scripting/workspace_wrapper.cpp @@ -170,7 +170,7 @@ int WorkspaceWrapper::displayWidth() const int WorkspaceWrapper::displayHeight() const { - return KWin::displayWidth(); + return KWin::displayHeight(); } QRect WorkspaceWrapper::clientArea(ClientAreaOption option, const QPoint &p, int desktop) const