diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-12-12 13:29:22 +0200 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-12-12 12:58:36 +0100 |
commit | 4a922bcab73923cc05b8b0d66e8f02f2df9409d4 (patch) | |
tree | 257b1feeac131d84fad15e4c421739c113883caf | |
parent | 48091975969fa5a7c436f4f51a96f26f6297af6e (diff) | |
download | qtwayland-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.cpp | 2 |
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); |