[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/generic/containmentactions/switchwindow
From: Chani Armitage <chanika () gmail ! com>
Date: 2010-12-02 16:01:31
Message-ID: 20101202160131.9452EAC8A4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202881 by chani:
only show current activity's windows
M +4 -1 switch.cpp
--- trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/switchwindow/switch.cpp \
#1202880:1202881 @@ -102,9 +102,12 @@
foreach (const QString &source, tasks->sources()) {
Plasma::DataEngine::Data window = tasks->query(source);
if (window.value("startup").toBool()) {
- kDebug() << "skipped fake task" << source;
+ //kDebug() << "skipped fake task" << source;
continue;
}
+ if (!window.value("onCurrentActivity").toBool()) {
+ continue;
+ }
QString name = window.value("visibleNameWithState").toString();
if (name.isEmpty()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic