Skip to content
Commit 2b7b0c54 authored by Oleg Solovyov's avatar Oleg Solovyov 🐴 Committed by Nate Graham
Browse files

Calculate cursor position relative to top-left corner of current screen

QCursor::pos() returns an absolute position of cursor,
which is incorrect unless the screen's top-left corner is (0, 0).
This is used when calculating position of the icon created on
desktop.

BUG: 436216


(cherry picked from commit a13b176e)
parent 6cd9d4c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment