diff options
author | Kimmo Hämäläinen <kimmo.hamalainen@nokia.com> | 2010-11-05 14:12:17 +0200 |
---|---|---|
committer | Abdiel Janulgue <abdiel.janulgue@nokia.com> | 2010-11-05 15:31:52 +0200 |
commit | 3489d9f17a82020f8a1d0b2a98d820e575665eed (patch) | |
tree | 61ea74946363edcc684435eaccdc42d517ba4059 | |
parent | 75d5c1d98d25777a4b621089211b39021b8ae680 (diff) |
add MWindowPropertyCache::alwaysMappedChanged signal
-rw-r--r-- | src/mwindowpropertycache.cpp | 1 | ||||
-rw-r--r-- | src/mwindowpropertycache.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mwindowpropertycache.cpp b/src/mwindowpropertycache.cpp index 072c83a..33b50d4 100644 --- a/src/mwindowpropertycache.cpp +++ b/src/mwindowpropertycache.cpp @@ -525,6 +525,7 @@ bool MWindowPropertyCache::propertyEvent(XPropertyEvent *e) xcb_always_mapped_cookie = xcb_get_property(xcb_conn, 0, window, ATOM(_MEEGOTOUCH_ALWAYS_MAPPED), XCB_ATOM_CARDINAL, 0, 1); + emit alwaysMappedChanged(this); } else if (e->atom == ATOM(_MEEGOTOUCH_CANNOT_MINIMIZE)) { if (cannot_minimize < 0) // collect the old reply diff --git a/src/mwindowpropertycache.h b/src/mwindowpropertycache.h index 40be1c2..e0767a0 100644 --- a/src/mwindowpropertycache.h +++ b/src/mwindowpropertycache.h @@ -259,6 +259,7 @@ signals: void iconGeometryUpdated(); void meegoDecoratorButtonsChanged(Window w); void desktopViewChanged(MWindowPropertyCache *pc); + void alwaysMappedChanged(MWindowPropertyCache *pc); private: int alphaValue(xcb_get_property_cookie_t c); |