summaryrefslogtreecommitdiff
path: root/src/mwindowpropertycache.h
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-07-16 16:43:33 +0300
committerKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-07-16 16:52:57 +0300
commit4f64008ad0e681ee212f10bde35401929f2f1729 (patch)
tree07373f8acce942bffc97a62bd25f504a8e67140d /src/mwindowpropertycache.h
parent6a48a397238e5a876d0d21516b6fd96e488b5053 (diff)
CHanges: XCB'ize rest of MWindowPropertyCache
- remove unused functions getPid() and getWmState() - use CARD32 instead of int/long for portability
Diffstat (limited to 'src/mwindowpropertycache.h')
-rw-r--r--src/mwindowpropertycache.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mwindowpropertycache.h b/src/mwindowpropertycache.h
index 4d060ac..1ddee8a 100644
--- a/src/mwindowpropertycache.h
+++ b/src/mwindowpropertycache.h
@@ -114,9 +114,9 @@ public:
}
/*!
- * Returns the WM_STATE of this window
+ * Returns the first cardinal of WM_STATE of this window
*/
- int windowState() const { return window_state; }
+ int windowState();
void setWindowState(int state) { window_state = state; }
@@ -167,6 +167,7 @@ private:
bool wm_protocols_valid;
bool icon_geometry_valid;
bool decor_buttons_valid;
+ bool wm_state_query;
QRectF icon_geometry;
int has_alpha;
int global_alpha;
@@ -187,6 +188,11 @@ private:
xcb_get_property_cookie_t xcb_is_decorator_cookie;
xcb_get_property_cookie_t xcb_window_type_cookie;
xcb_get_property_cookie_t xcb_decor_buttons_cookie;
+ xcb_get_property_cookie_t xcb_wm_protocols_cookie;
+ xcb_get_property_cookie_t xcb_wm_state_cookie;
+ xcb_get_property_cookie_t xcb_wm_hints_cookie;
+ xcb_get_property_cookie_t xcb_icon_geom_cookie;
+ xcb_get_property_cookie_t xcb_global_alpha_cookie;
xcb_render_query_pict_formats_cookie_t xcb_pict_formats_cookie;
static xcb_connection_t *xcb_conn;