From a78e3ff9c68c692ef1977baf9e1b6ff3fbeb96da Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Sat, 9 Jan 2016 09:19:54 +0100 Subject: Send the right output position to clients Fix typo and send X and Y coordinates not X twice. Change-Id: I830287201d3ae9f9baf25abb9597bcc09cb8ce92 Reviewed-by: Jan Arne Petersen Reviewed-by: Paul Olav Tvete --- src/compositor/compositor_api/qwaylandoutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compositor/compositor_api/qwaylandoutput.cpp b/src/compositor/compositor_api/qwaylandoutput.cpp index b9bff6ab4..5aa3b20f7 100644 --- a/src/compositor/compositor_api/qwaylandoutput.cpp +++ b/src/compositor/compositor_api/qwaylandoutput.cpp @@ -140,7 +140,7 @@ void QWaylandOutputPrivate::sendGeometryInfo() { Q_FOREACH (Resource *resource, resourceMap().values()) { send_geometry(resource->handle, - position.x(), position.x(), + position.x(), position.y(), physicalSize.width(), physicalSize.height(), toWlSubpixel(subpixel), manufacturer, model, toWlTransform(transform)); -- cgit v1.2.3