From e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Dec 2012 00:00:28 +0300 Subject: Add support for relative mouse move in android version. --- src/gui/gui.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 8d26acea8..268f05fc1 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -36,6 +36,7 @@ #include "keydata.h" #include "keyevent.h" #include "keyinput.h" +#include "mouseinput.h" #include "touchmanager.h" #include "resources/image.h" @@ -272,7 +273,7 @@ void Gui::logic() handleModalFocus(); handleModalMouseInputFocus(); - if (mInput) + if (guiInput) handleMouseInput(); mTop->logic(); @@ -658,7 +659,7 @@ void Gui::handleMouseInput() BLOCK_START("Gui::handleMouseInput") while (!mInput->isMouseQueueEmpty()) { - const gcn::MouseInput mouseInput = mInput->dequeueMouseInput(); + const MouseInput mouseInput = guiInput->dequeueMouseInput2(); if (touchManager.processEvent(mouseInput)) { -- cgit v1.2.3-60-g2f50