Fix initial region location for High DPI screens

Authored by Lekensteyn on Oct 15 2016, 1:18 PM.

Description

Fix initial region location for High DPI screens

QML dimensions are measured in device-independent pixels, be sure to
make appropriate conversions. Also make sure that the new selection
size feature displays the correct dimensions.

Tested with: QT_SCALE_FACTOR=2 src/spectacle and dragging the region.

REVIEW: 129190
CCBUG: 357022

Details

Committed
LekensteynOct 20 2016, 8:40 PM
Parents
R166:a41e83edbaad: Fix blurry preview on HiDPI displays
Branches
Unknown
Tags
Unknown