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
Please register or sign in to comment