From b92557a0afddc07e6519fcd4844482528a7f3603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 4 Sep 2012 06:26:39 +0200 Subject: [PATCH] Return displayHeight for property displayHeight and not displayWidth Typo in the scripting bindings. BUG: 306225 FIXED-IN: 4.9.2 --- scripting/workspace_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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