From 2a50526c3081e4ba9e408352ccadd55be71bb8aa Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 17 Jun 2014 17:53:37 +0100 Subject: [PATCH] Remove the discard of mouse events on windows inside ViewArea --- source/app/ViewArea.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/app/ViewArea.cpp b/source/app/ViewArea.cpp index 3751631..3eba98b 100644 --- a/source/app/ViewArea.cpp +++ b/source/app/ViewArea.cpp @@ -605,9 +605,12 @@ void ViewArea::mouseMoveEvent( QMouseEvent *event ) { event->accept(); +#ifndef _MSC_VER // Add this code line to avoid slow navigation with some specific mouses + // This seems to always appear on windows if(qApp->hasPendingEvents()) return; +#endif QPoint actualPos = windowToView( event->pos() ); QRect updateRect;