From 55bbecad0ec75bc942aa0ca73a228fc2d58c8105 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20R=C3=B8dal?= Date: Wed, 28 Mar 2012 17:15:23 +0200 Subject: [PATCH] Properly report content orientation changes in the compositor. Change-Id: I9a65299c140c645edc05bdddb92e792e3d57275a Reviewed-by: Laszlo Agocs --- src/compositor/wayland_wrapper/wlextendedsurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.7.4