summaryrefslogtreecommitdiffstats
path: root/tests/manual/xembed/qt-client-widget/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/xembed/qt-client-widget/window.cpp')
-rw-r--r--tests/manual/xembed/qt-client-widget/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/manual/xembed/qt-client-widget/window.cpp b/tests/manual/xembed/qt-client-widget/window.cpp
index d485c92b14..6f0a373ec3 100644
--- a/tests/manual/xembed/qt-client-widget/window.cpp
+++ b/tests/manual/xembed/qt-client-widget/window.cpp
@@ -7,6 +7,10 @@
Window::Window()
{
+ setAttribute(Qt::WA_NativeWindow);
+ setAttribute(Qt::WA_DontCreateNativeAncestors);
+ createWinId();
+
QGroupBox *echoGroup = new QGroupBox(tr("Echo"));
QLabel *echoLabel = new QLabel(tr("Mode:"));