From: Samuel Rødal Date: Wed, 28 Mar 2012 15:15:23 +0000 (+0200) Subject: Properly report content orientation changes in the compositor. X-Git-Tag: TIZEN~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55bbecad0ec75bc942aa0ca73a228fc2d58c8105;p=profile%2Fivi%2Fqtwayland.git Properly report content orientation changes in the compositor. Change-Id: I9a65299c140c645edc05bdddb92e792e3d57275a Reviewed-by: Laszlo Agocs --- diff --git a/src/compositor/wayland_wrapper/wlextendedsurface.cpp b/src/compositor/wayland_wrapper/wlextendedsurface.cpp index 3b46abc..4087bf0 100644 --- a/src/compositor/wayland_wrapper/wlextendedsurface.cpp +++ b/src/compositor/wayland_wrapper/wlextendedsurface.cpp @@ -170,7 +170,7 @@ void ExtendedSurface::set_content_orientation(struct wl_client *client, Qt::ScreenOrientation oldOrientation = extended_surface->m_contentOrientation; extended_surface->m_contentOrientation = screenOrientationFromWaylandOrientation(orientation); - if (extended_surface->m_windowOrientation != oldOrientation) + if (extended_surface->m_contentOrientation != oldOrientation) emit extended_surface->m_surface->waylandSurface()->contentOrientationChanged(); }