summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/gl_integration
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2011-11-21 13:06:04 +0100
committerLasse Holmstedt <lasse.holmstedt@nokia.com>2011-11-23 11:59:49 +0100
commitdca192c3c1b6cbc38fcdb3351d6c6a068661a243 (patch)
treefb00eb7b2c544e49cf53bc61bf7e6ed5f1f16858 /src/plugins/platforms/wayland/gl_integration
parent43550edd01f3093359f2c3ac9ccbc00d7fb82817 (diff)
Flush window property changes also with EGL surfaces
Change-Id: I57924c75ab22f259de70e97731439a74bc3ec9e7 Reviewed-by: Martin Zielinski <martin.zielinski@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/gl_integration')
-rw-r--r--src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandeglwindow.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandeglwindow.cpp b/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandeglwindow.cpp
index e0e1f772b..075d7db7d 100644
--- a/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandeglwindow.cpp
+++ b/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandeglwindow.cpp
@@ -49,6 +49,10 @@
#include <QtGui/QWindow>
#include <QtGui/QWindowSystemInterface>
+#ifdef QT_WAYLAND_WINDOWMANAGER_SUPPORT
+#include "windowmanager_integration/qwaylandwindowmanagerintegration.h"
+#endif
+
QWaylandEglWindow::QWaylandEglWindow(QWindow *window)
: QWaylandWindow(window)
, m_waylandEglWindow(0)
@@ -100,6 +104,10 @@ void QWaylandEglWindow::newSurfaceCreated()
}
m_waylandEglWindow = wl_egl_window_create(mSurface, size.width(), size.height(), visual);
+
+#ifdef QT_WAYLAND_WINDOWMANAGER_SUPPORT
+ QWaylandWindowManagerIntegration::instance()->flushPropertyChanges(this);
+#endif
}
QSurfaceFormat QWaylandEglWindow::format() const