summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-04-04 17:49:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-05 05:56:16 +0200
commitfe95db7685ed943a73a5de127b3f587e42f682ff (patch)
tree7574dc9d447da3dea10aad5fe3d794942860d467 /examples
parent4f8c3cfc8f6a3f3ccf245a196a5288bd0a242e49 (diff)
downloadqtquickcontrols-fe95db7685ed943a73a5de127b3f587e42f682ff.tar.gz
Arbitrary window doesn't appear transient on X11, but a dialog does
After verifying that WM_TRANSIENT_FOR was being set correctly, the child window was still showing up at an arbitrary place with OpenBox as the window manager. If it's marked as a dialog though, it will be centered properly over the main window. Change-Id: I0c1ae0755f51b564d986134520d036b72658fae4 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/gallery/content/ChildWindow.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gallery/content/ChildWindow.qml b/examples/gallery/content/ChildWindow.qml
index c4094209..5473e834 100644
--- a/examples/gallery/content/ChildWindow.qml
+++ b/examples/gallery/content/ChildWindow.qml
@@ -53,6 +53,7 @@ Window {
height: 400
title: "child window"
+ flags: Qt.Dialog
Rectangle {
color: syspal.window