summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-12-12 13:29:22 +0200
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-12-12 12:58:36 +0100
commit4a922bcab73923cc05b8b0d66e8f02f2df9409d4 (patch)
tree257b1feeac131d84fad15e4c421739c113883caf
parent48091975969fa5a7c436f4f51a96f26f6297af6e (diff)
downloadqtwayland-4a922bcab73923cc05b8b0d66e8f02f2df9409d4.tar.gz
Fix wrong check condition.
Change-Id: Iecd5050097abcafa06073d41a31d1ae31fac5b42 Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
-rw-r--r--src/compositor/wayland_wrapper/qwlextendedsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwlextendedsurface.cpp b/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
index 55878295..e4ba40e7 100644
--- a/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
+++ b/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
@@ -174,7 +174,7 @@ void ExtendedSurface::extended_surface_set_window_flags(Resource *resource, int3
{
Q_UNUSED(resource);
QWaylandSurface::WindowFlags windowFlags(flags);
- if (m_surface || windowFlags == m_windowFlags)
+ if (!m_surface || windowFlags == m_windowFlags)
return;
m_windowFlags = windowFlags;
emit m_surface->waylandSurface()->windowFlagsChanged(windowFlags);