[Merge] lp:~lukas-kde/qtubuntu/fixWheel into lp:qtubuntu

Daniel d'Andrada daniel.dandrada at canonical.com
Tue Nov 10 21:21:28 UTC 2015


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.

-- 
https://code.launchpad.net/~lukas-kde/qtubuntu/fixWheel/+merge/276251
Your team Ubuntu Phablet Team is subscribed to branch lp:qtubuntu.



More information about the Ubuntu-reviews mailing list