summaryrefslogtreecommitdiff
path: root/src/mwindowpropertycache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mwindowpropertycache.h')
-rw-r--r--src/mwindowpropertycache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mwindowpropertycache.h b/src/mwindowpropertycache.h
index 1b1d0bb..911dd32 100644
--- a/src/mwindowpropertycache.h
+++ b/src/mwindowpropertycache.h
@@ -232,6 +232,11 @@ public:
const QRegion &customRegion(bool request_only = false);
/*!
+ * Returns the value of _MEEGOTOUCH_ORIENTATION_ANGLE.
+ */
+ unsigned orientationAngle();
+
+ /*!
* Called on PropertyNotify for this window.
* Returns true if we should re-check stacking order.
*/
@@ -303,6 +308,7 @@ private:
bool being_mapped, dont_iconify;
QRegion *custom_region;
bool custom_region_request_fired;
+ unsigned orientation_angle;
// geometry is requested only once in the beginning, after that, we
// use ConfigureNotifys to update the size through setRealGeometry()
xcb_get_geometry_reply_t *xcb_real_geom;
@@ -322,6 +328,7 @@ private:
xcb_get_property_cookie_t xcb_always_mapped_cookie;
xcb_get_property_cookie_t xcb_cannot_minimize_cookie;
xcb_get_property_cookie_t xcb_custom_region_cookie;
+ xcb_get_property_cookie_t xcb_orientation_angle_cookie;
xcb_render_query_pict_formats_cookie_t xcb_pict_formats_cookie;
xcb_shape_get_rectangles_cookie_t xcb_shape_rects_cookie;
QRegion shape_region;