1
0
Fork 0

Improve mouse-warping with GraphicsWindowQt5

This commit is contained in:
James Turner 2017-10-03 08:21:09 +01:00
parent 0331180e4f
commit 343fce4470

View file

@ -726,6 +726,8 @@ void GraphicsWindowQt5::requestWarpPointer( float x, float y )
{
if ( _window )
QCursor::setPos( _window->mapToGlobal(QPoint((int)x,(int)y)) );
getEventQueue()->mouseWarped(x,y);
}
bool GraphicsWindowQt5::checkEvents()