aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <mgraesslin@kde.org>2012-09-04 04:26:39 (GMT)
committerMartin Gräßlin <mgraesslin@kde.org>2012-09-04 04:26:39 (GMT)
commit8bcb32f0ca833be152e907d3f27bfa6d1b7085b3 (patch)
treee918abbe27fae18b300eb0b03da3d82093f5aee3
parent4e74db04d067affc1ee3b5bdfde5ee906554e747 (diff)
Return displayHeight for property displayHeight and not displayWidth
Typo in the scripting bindings. BUG: 306225 FIXED-IN: 4.9.2
-rw-r--r--kwin/scripting/workspace_wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/scripting/workspace_wrapper.cpp b/kwin/scripting/workspace_wrapper.cpp
index f610139..0fdfcc5 100644
--- a/kwin/scripting/workspace_wrapper.cpp
+++ b/kwin/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