summaryrefslogtreecommitdiff
path: root/src/mwindowpropertycache.h
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-12-20 17:53:58 +0200
committerAdam Endrodi <ext-adam.endrodi@nokia.com>2011-01-05 16:10:11 +0200
commit3edfd1ac67abd50891f9430e656a270946e0f930 (patch)
tree6bd042a746796076bb905c9dacffd5e1694e371d /src/mwindowpropertycache.h
parentd399fc5d09063b1767d67d53ca23a41958dc37f9 (diff)
Implement support for partial window drawing etc.
- add support for painting MTexturePixmap with modified texture coordinates for plugins - add _MEEGOTOUCH_MSTATUSBAR_GEOMETRY to MWindowPropertyCache - add MCompositeWindowShaderEffect API for the affected MCompositeWindow
Diffstat (limited to 'src/mwindowpropertycache.h')
-rw-r--r--src/mwindowpropertycache.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mwindowpropertycache.h b/src/mwindowpropertycache.h
index 911dd32..c2273d1 100644
--- a/src/mwindowpropertycache.h
+++ b/src/mwindowpropertycache.h
@@ -237,6 +237,11 @@ public:
unsigned orientationAngle();
/*!
+ * Returns the value of _MEEGOTOUCH_MSTATUSBAR_GEOMETRY.
+ */
+ const QRect &statusbarGeometry();
+
+ /*!
* Called on PropertyNotify for this window.
* Returns true if we should re-check stacking order.
*/
@@ -297,7 +302,7 @@ private:
int video_global_alpha;
int is_decorator;
QList<Atom> net_wm_state;
- QRect req_geom, real_geom;
+ QRect req_geom, real_geom, statusbar_geom;
QRect home_button_geom, close_button_geom;
XWMHints *wmhints;
xcb_get_window_attributes_reply_t *attrs;
@@ -329,6 +334,7 @@ private:
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_get_property_cookie_t xcb_statusbar_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;