treat "ALL" activities as all activities when setting activities (aligning it to an empty list as checked elsewhere)
BUG: 300846 FIXED-IN: 4.9 REVIEW: 105113
This commit is contained in:
parent
e999536c83
commit
11f28732db
1 changed files with 2 additions and 1 deletions
|
@ -1630,7 +1630,8 @@ void Client::setOnActivities(QStringList newActivitiesList)
|
|||
newActivitiesList = joinedActivitiesList.split(',', QString::SkipEmptyParts);
|
||||
|
||||
QStringList allActivities = workspace()->activityList();
|
||||
if (newActivitiesList.size() == allActivities.size() || newActivitiesList.isEmpty()) {
|
||||
if (newActivitiesList.size() == allActivities.size() || newActivitiesList.isEmpty() ||
|
||||
(newActivitiesList.count() == 1 && newActivitiesList.at(0) == "ALL")) {
|
||||
setOnAllActivities(true);
|
||||
activityList.clear();
|
||||
XChangeProperty(display(), window(), atoms->activities, XA_STRING, 8,
|
||||
|
|
Loading…
Reference in a new issue