Code review comment for lp:~lukas-kde/qtubuntu/fixWheel

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

On 10/11/2015 17:15, Lukáš Tinkl wrote:
>> I don't think s/localPoint/QCursor::pos() makes any difference as I think we
>> are currently not informing the global position of the cursor.
>>
>> I think we can find out the global cursor position by doing:
>> window->position() + localPoint
>>
>> What do you think?
> OK, I can try that but still I guess we should stay as close to qtmir as possible, what do you think? :p

The thing is the way mir events are formatted, there's no way for
qtmir/unity8 to tell the global position of the cursor to applications.
That's why qtubuntu should do this math on its own.

« Back to merge proposal