• Gatis Paeglis's avatar
    Don't send QMouseEvent events from the QXcbDrag::timerEvent() · 29b9b92f
    Gatis Paeglis authored
    
    This is not needed. The DnD initiated scrolling is done by
    installing an eventFilter which forwards all MouseMove events
    to the QGuiApplicationPrivate::processDrag which creates and forwards
    all the necessary QDrag* events. QAbstractScrollArea has its own logic
    in the timerEvent() to make the view scroll when the pointer is standing
    still on the edge and the drag process is still ongoing.
    
    With the current implementation, widgets (during the DnD) were receiving
    DragMove events even when the pointer was standing still outside auto scroll
    areas.
    
    Task-number: QTBUG-28171
    Change-Id: I355d88f3eab0ad39f916f84d66f5d0af7c0ff93e
    Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
    Reviewed-by: default avatarStephen Kelly <stephen.kelly@kdab.com>
    29b9b92f