Changeset View
Changeset View
Standalone View
Standalone View
sm.cpp
Context not available. | |||||
140 | 140 | | |||
---|---|---|---|---|---|
141 | void Workspace::storeClient(KConfigGroup &cg, int num, Client *c) | 141 | void Workspace::storeClient(KConfigGroup &cg, int num, Client *c) | ||
142 | { | 142 | { | ||
143 | c->setSessionInteract(false); //make sure we get the real values | 143 | c->setSessionActivityOverride(false); //make sure we get the real values | ||
144 | QString n = QString::number(num); | 144 | QString n = QString::number(num); | ||
145 | cg.writeEntry(QLatin1String("sessionId") + n, c->sessionId().constData()); | 145 | cg.writeEntry(QLatin1String("sessionId") + n, c->sessionId().constData()); | ||
146 | cg.writeEntry(QLatin1String("windowRole") + n, c->windowRole().constData()); | 146 | cg.writeEntry(QLatin1String("windowRole") + n, c->windowRole().constData()); | ||
Context not available. | |||||
519 | void Workspace::sessionSaveDone() | 519 | void Workspace::sessionSaveDone() | ||
520 | { | 520 | { | ||
521 | session_saving = false; | 521 | session_saving = false; | ||
522 | //remove sessionInteract flag from all clients | | |||
523 | foreach (Client * c, clients) { | 522 | foreach (Client * c, clients) { | ||
524 | c->setSessionInteract(false); | 523 | c->setSessionActivityOverride(false); | ||
525 | } | 524 | } | ||
526 | } | 525 | } | ||
527 | 526 | | |||
Context not available. |