From 7042de0894b8d75b75b7a010b22b5fab5835754f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 19 Jun 2012 17:09:06 -0700 Subject: eglfs: move m_pos into Cursor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I51e92d265e7ea6372ae58b357f75362e2d9a2df9 Reviewed-by: Samuel Rødal --- mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkspecs') diff --git a/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp b/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp index 158e69418e..8b6349cf8c 100644 --- a/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp +++ b/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp @@ -206,14 +206,14 @@ public: } void setPos(const QPoint &pos) Q_DECL_OVERRIDE { - m_pos = pos; + m_cursor.pos = pos; moveDispmanxLayer(m_window, cursorRect().topLeft()); } void pointerEvent(const QMouseEvent &event) Q_DECL_OVERRIDE { if (event.type() != QEvent::MouseMove) return; - m_pos = event.pos(); + m_cursor.pos = event.pos(); moveDispmanxLayer(m_window, cursorRect().topLeft()); } -- cgit v1.2.3