summaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent4f8c3cfc8f6a3f3ccf245a196a5288bd0a242e49 (diff)
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 'src')
-rw-r--r--src/experimental/Dialog.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/experimental/Dialog.qml b/src/experimental/Dialog.qml
index 5dc933db7..e2f7989e3 100644
--- a/src/experimental/Dialog.qml
+++ b/src/experimental/Dialog.qml
@@ -54,6 +54,7 @@ Window {
width: 400
height: 200
+ flags: Qt.Dialog
signal closed
signal accepted