summaryrefslogtreecommitdiff
path: root/src/mwindowpropertycache.h
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-09-30 10:33:02 +0300
committerKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-09-30 17:07:26 +0300
commit034fbdb84729240d53855aed0c02ec3864f52c43 (patch)
tree6258db43e93d26a277559077034552171b7cd77a /src/mwindowpropertycache.h
parentad0c4dbb194d9abdb6d41f03ee06f5a0cc01f776 (diff)
Fixes: NB#195550 - Status Menu opens in background of application
- Add support for _MEEGOTOUCH_ALWAYS_MAPPED property - needed to expose more MCompositeManager API for plugins
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 775f4b4..f52a50c 100644
--- a/src/mwindowpropertycache.h
+++ b/src/mwindowpropertycache.h
@@ -208,6 +208,11 @@ public:
unsigned int meegoStackingLayer();
/*!
+ * Returns value of _MEEGOTOUCH_ALWAYS_MAPPED.
+ */
+ int alwaysMapped();
+
+ /*!
* Called on PropertyNotify for this window.
* Returns true if we should re-check stacking order.
*/
@@ -270,6 +275,7 @@ private:
int meego_layer, window_state;
MCompAtoms::Type window_type;
Window window, parent_window;
+ int always_mapped;
bool being_mapped, dont_iconify;
// geometry is requested only once in the beginning, after that, we
// use ConfigureNotifys to update the size through setRealGeometry()
@@ -287,6 +293,7 @@ private:
xcb_get_property_cookie_t xcb_global_alpha_cookie;
xcb_get_property_cookie_t xcb_video_global_alpha_cookie;
xcb_get_property_cookie_t xcb_net_wm_state_cookie;
+ xcb_get_property_cookie_t xcb_always_mapped_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;