qtwayland: correct order of parameters in setMouseFocus()
authorElvis Lee <kwangwoong.lee@lge.com>
Mon, 20 Aug 2012 07:15:10 +0000 (16:15 +0900)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>
Mon, 20 Aug 2012 07:31:37 +0000 (09:31 +0200)
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>
src/compositor/wayland_wrapper/wlinputdevice.cpp

index 0625fa6..c3e977e 100644 (file)
@@ -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());