Propagate screen orientation changes through wayland
[profile/ivi/qtwayland.git] / src / qt-compositor / windowmanagerprotocol / windowmanager.xml
index 2d76ae0..7356e42 100644 (file)
         <event name="client_onscreen_visibility">
            <arg name="visible" type="int"/>
        </event>
+
+        <!-- Sets screen rotation, typically based on accelerometer/orientation sensor reading data -->
+        <event name="set_screen_rotation">
+            <arg name="rotation" type="int"/>
+        </event>
     </interface>
 </protocol>