diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-01-12 10:14:44 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-01-16 09:52:38 +0100 |
commit | c1d08afd31074a2733057ed6620735ef2f4dd8c6 (patch) | |
tree | a7f235fde2090c79befed2ebe5e677c6466aa5c8 /src/plugins/platforms/xcb/qxcbscreen.cpp | |
parent | 4448576ae04ad9261ffad07c8ff15486d56fa28c (diff) |
Fix constantly growing window bug with devicePixelRatio
Rectangles need to be mapped differently depending on what they are
used for. Expose events need to cover the entire geometry, so they must
be rounded up, potentially increasing the size. If we use the same
conversion for window geometries, it is possible to end up with a
feedback loop if the window reacts to the new size.
Task-number: QTBUG-43743
Change-Id: I7881cc77bf2148fed2ae743c4226617a61197434
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbscreen.cpp')
0 files changed, 0 insertions, 0 deletions