summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElvis Lee <kwangwoong.lee@lge.com>2012-08-20 16:15:10 +0900
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-08-20 09:31:37 +0200
commitec187fe3673dafa395d433319f112090e3603523 (patch)
tree71d33b5f6c86a81d91daa71b2179cd542ec07dd6
parent0c8b7103017c11689fb4dd9ad4e5a6902f2fc158 (diff)
qtwayland: correct order of parameters in setMouseFocus()
Examined it's callers in qtwayland. And it's supposed that there is no extenal callers, not in qtwayland. Change-Id: Id9b42b03e0718f27dc7be3f987bb077092d3a06f Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
-rw-r--r--src/compositor/wayland_wrapper/wlinputdevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/wlinputdevice.cpp b/src/compositor/wayland_wrapper/wlinputdevice.cpp
index 0625fa6f..c3e977ea 100644
--- a/src/compositor/wayland_wrapper/wlinputdevice.cpp
+++ b/src/compositor/wayland_wrapper/wlinputdevice.cpp
@@ -403,7 +403,7 @@ Surface *InputDevice::mouseFocus() const
return wayland_cast<Surface>(pointerDevice()->focus);
}
-void InputDevice::setMouseFocus(Surface *surface, const QPointF &globalPos, const QPointF &localPos)
+void InputDevice::setMouseFocus(Surface *surface, const QPointF &localPos, const QPointF &globalPos)
{
wl_pointer *pointer = pointerDevice();
pointer->x = wl_fixed_from_double(globalPos.x());