summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-03-28 15:46:37 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2018-04-21 08:55:15 +0000
commit7b4254caccd3eee19d8116545d7022d1817e21fc (patch)
treeabda458313d51330edd10687f54dcfba1b85ab94 /dist
parent434f3e9a952b5858abc1f0ed1179ea5d2fca6a19 (diff)
Compositor: Fix mapToSurface for surfaces with bufferScale != 1
Since QWaylandSurface::size (public API) returns the buffer size in pixels and not the size in surface local coordinates, we need to also account for the surface buffer_scale in order to get surface local coordinates. Change-Id: I79a396c55b674b1ac42ca17e1e88e50c1506ce83 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions