diff options
author | Jarosław Jaryszew <jaroslaw.jaryszew@teleca.com> | 2011-01-17 10:43:27 +0100 |
---|---|---|
committer | Dominik Kapusta <dominik.kapusta@teleca.com> | 2011-01-18 12:15:11 +0100 |
commit | 95b5b5eada4a90373fc1cb6165c88a6ecb56e7f2 (patch) | |
tree | 3aa36be9fcf1baa2b6e6be6f5a8b0132c0a3e183 /src | |
parent | 6f7fe04ef122b8da43326bdebc19ae2968eae629 (diff) |
Fixes: NB#208270 - Status area is displayed in portrait orientation when application is in landscape and vice-verse.
RevBy: Dominik
Details: Now when handling current app window change we are testing for its orientation
(_MEEGOTOUCH_ORIENTATION_ANGLE) right away instead of waiting for PropertyChangeEvent.
This is necessary because non-lmt windows will not set this property, and app will not get updated.
Added unit test for case when non-lmt app is on top.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/events/morientationtracker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/events/morientationtracker.cpp b/src/corelib/events/morientationtracker.cpp index 3a714530..d63992ef 100644 --- a/src/corelib/events/morientationtracker.cpp +++ b/src/corelib/events/morientationtracker.cpp @@ -371,6 +371,7 @@ bool MOrientationTrackerPrivate::handleX11PropertyEvent(XPropertyEvent *event) return true; } else if (event->atom == currentAppWindowAtom) { handleCurrentAppWindowChange(); + handleCurrentAppWindowOrientationAngleChange(); return true; } } |