Changeset View
Changeset View
Standalone View
Standalone View
manage.cpp
Context not available. | |||||
601 | if( !isOnCurrentDesktop() && !isMapped && !session && ( allow || workspace()->sessionSaving() )) | 601 | if( !isOnCurrentDesktop() && !isMapped && !session && ( allow || workspace()->sessionSaving() )) | ||
---|---|---|---|---|---|
602 | VirtualDesktopManager::self()->setCurrent( desktop()); | 602 | VirtualDesktopManager::self()->setCurrent( desktop()); | ||
603 | 603 | | |||
604 | // If the window is on an inactive activity during session saving, temporarily force it to show. | ||||
605 | if( !isMapped && !session && workspace()->sessionSaving() && !isOnCurrentActivity()) { | ||||
606 | setSessionActivityOverride( true ); | ||||
607 | foreach( AbstractClient* c, mainClients()) { | ||||
608 | if (Client *mc = dynamic_cast<Client*>(c)) { | ||||
609 | mc->setSessionActivityOverride(true); | ||||
610 | } | ||||
611 | } | ||||
612 | } | ||||
613 | | ||||
604 | if (isOnCurrentDesktop() && !isMapped && !allow && (!session || session->stackingOrder < 0)) | 614 | if (isOnCurrentDesktop() && !isMapped && !allow && (!session || session->stackingOrder < 0)) | ||
605 | workspace()->restackClientUnderActive(this); | 615 | workspace()->restackClientUnderActive(this); | ||
606 | 616 | | |||
Context not available. |