diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2016-02-18 14:05:39 +0100 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2016-02-19 16:35:29 +0000 |
commit | 3f4eba746d23550be19dc4edafe193fa5ce0d3d4 (patch) | |
tree | 703f5bd9e6b901175a8fdab63837be634f5b7a0a /src/corelib | |
parent | 7cd23a7d5f5b7b10c0e317afcf8bc49020a42e53 (diff) |
xcb: properly initialize size in millimeters if XRandR is not supported
QXcbScreen did not set the m_sizeMillimeters if the xcb connection does
not support XRandR. This caused physicalSize() to return an invalid QSize.
This change fixes a regression compared to Qt 5.4 discovered by a
broken unit test for KWin on KDE's CI system, which uses Xvfb and by
that no XRandR support.
Task-number: QTBUG-49885
Change-Id: Ie472a194ba410f0748ccfda8aa467727fafa10a3
Reviewed-by: Błażej Szczygieł <spaz16@wp.pl>
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions