summaryrefslogtreecommitdiff
path: root/src/mwindowpropertycache.h
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-07-09 17:06:21 +0300
committerKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-07-09 17:06:21 +0300
commit6500b852d6b7633ac4acae70bf1df50d51c65bce (patch)
treeaee493556f8a694d28c4c9b99bf61c912ee1f4b5 /src/mwindowpropertycache.h
parent7abab14a4bd1dd904baf407c852b8395834c174e (diff)
Changes: Add globalAlpha and iconGeometry to MWindowPropertyCache
- remove some unnecessary XSync calls - use old MWindowPropertyCache in mapRequestEvent() if available
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 c722964..ac0c795 100644
--- a/src/mwindowpropertycache.h
+++ b/src/mwindowpropertycache.h
@@ -117,6 +117,8 @@ public:
const XWindowAttributes* windowAttributes() const { return attrs; };
+ const QRectF &iconGeometry();
+
/*!
* Returns value of _MEEGO_STACKING_LAYER. The value is between [0, 6].
*/
@@ -134,6 +136,8 @@ public:
bool isDecorator() const { return is_decorator; }
+ int globalAlpha();
+
bool is_valid;
private:
@@ -141,7 +145,10 @@ private:
Window transient_for;
QList<Atom> wm_protocols;
bool wm_protocols_valid;
+ bool icon_geometry_valid;
+ QRectF icon_geometry;
bool has_alpha;
+ int global_alpha;
bool is_decorator;
QList<Atom> net_wm_state;
QRect req_geom, real_geom;