summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Engels <ralf.engels@nokia.com>2010-12-20 13:23:20 +0100
committerRalf Engels <ralf.engels@nokia.com>2010-12-20 13:23:20 +0100
commit1e31ef95d5440837203e55073afbb77926f83ba9 (patch)
tree5044b0fa9169fb920378945b6a7dad4c3df0065f
parent33690118e24b9c5dd5bb5472306855f4bf022270 (diff)
Fix isOnCurrentHomescreen. Courtesy Ruediger Gad
-rw-r--r--qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.cpp b/qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.cpp
index ddd962d..bc0f53d 100644
--- a/qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.cpp
+++ b/qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.cpp
@@ -324,7 +324,7 @@ bool QMaemo5HomescreenAdaptor::applicationEventFilter(void *message, long *resul
if (ev->xproperty.atom == hsAtoms[HildonAppletOnCurrentDesktop]) {
for (int i = 0; i < allDesktopItems.count(); ++i) {
if (allDesktopItems.at(i)->appletWidget()->winId() == ev->xproperty.window) {
- emit allDesktopItems.at(i)->homescreenChanged(ev->xproperty.window == 0);
+ emit allDesktopItems.at(i)->homescreenChanged(ev->xproperty.state == 0);
retval = true;
}
}