diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-05-07 18:05:00 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-05-12 08:58:52 +0000 |
commit | d33edcfe379fe4d86c8a4a0a2b02e8c6af104a71 (patch) | |
tree | 2b70fb748e082b0aca98593ddd657daacc73d8d3 /mkspecs/macx-clang-32/qplatformdefs.h | |
parent | 1adedb7baad717bd6f41796ccc717ba93e2f3738 (diff) |
Fix the qscreen manual test for separate X screens
It is fully possible to show a window on all the connected screens
even when the screens are not virtual siblings, i.e. they do not
form one big desktop. When X is configured to use a separate screen
for each physical screen, it becomes essential to do setScreen()
either directly or via QDesktopWidget in case of widgets. The original
code attempting to call QWindow::setScreen() cannot succeed since there
is no QWindow available before the widget is shown. This is easy to
work around.
The app now works identically in all cases.
Change-Id: I519ca0c0109c68aac2f2d4e6972d14b55767b403
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'mkspecs/macx-clang-32/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions