path: root/src/gui
diff options
authorLaszlo Agocs <>2015-05-07 18:05:00 +0200
committerLaszlo Agocs <>2015-05-12 08:58:52 +0000
commitd33edcfe379fe4d86c8a4a0a2b02e8c6af104a71 (patch)
tree2b70fb748e082b0aca98593ddd657daacc73d8d3 /src/gui
parent1adedb7baad717bd6f41796ccc717ba93e2f3738 (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 <>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions