Add QScreenOrientationChangeEvent and rotation support to wayland client
authorLasse Holmstedt <lasse.holmstedt@nokia.com>
Mon, 4 Jul 2011 10:08:38 +0000 (12:08 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 4 Jul 2011 12:32:41 +0000 (14:32 +0200)
commita77ce3301c2035a2aaa3c14e051dceb46ca27924
tree76f0346ee9b2e0978beff9886a0dd0595d8e5eca
parent85869920bb9a4ee45cf4a89e74b1bd3d4ce67eaa
Add QScreenOrientationChangeEvent and rotation support to wayland client

Qt Compositor propagates screen orientation changes to wayland, which
are then picked up by the wayland client. The wayland client then sends
a QScreenOrientationChangeEvent to QApplication, which can handle the
orientation change.

Change-Id: Ieb2225e52b7e3c318648f2cb21dab7937f301505
Reviewed-on: http://codereview.qt.nokia.com/1063
Reviewed-by: Matthias Ettrich
src/corelib/kernel/qcoreevent.h
src/gui/kernel/qevent.cpp
src/gui/kernel/qevent.h
src/gui/kernel/qevent_p.h
src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanager-client-protocol.h
src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.cpp
src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h
src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-protocol.c