Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 1128 Lines • ▼ Show 20 Line(s) | 1128 | if (compositing() && m_compositor) | |||
---|---|---|---|---|---|
1129 | m_compositor->addRepaintFull(); | 1129 | m_compositor->addRepaintFull(); | ||
1130 | #else | 1130 | #else | ||
1131 | Q_UNUSED(new_activity) | 1131 | Q_UNUSED(new_activity) | ||
1132 | #endif | 1132 | #endif | ||
1133 | } | 1133 | } | ||
1134 | 1134 | | |||
1135 | void Workspace::moveClientsFromRemovedDesktops() | 1135 | void Workspace::moveClientsFromRemovedDesktops() | ||
1136 | { | 1136 | { | ||
1137 | for (ClientList::ConstIterator it = clients.constBegin(); it != clients.constEnd(); ++it) { | 1137 | for (auto it = m_allClients.constBegin(); it != m_allClients.constEnd(); ++it) { | ||
1138 | if (!(*it)->isOnAllDesktops() && (*it)->desktop() > static_cast<int>(VirtualDesktopManager::self()->count())) | 1138 | if (!(*it)->isOnAllDesktops() && (*it)->desktop() > static_cast<int>(VirtualDesktopManager::self()->count())) | ||
1139 | sendClientToDesktop(*it, VirtualDesktopManager::self()->count(), true); | 1139 | sendClientToDesktop(*it, VirtualDesktopManager::self()->count(), true); | ||
1140 | } | 1140 | } | ||
1141 | } | 1141 | } | ||
1142 | 1142 | | |||
1143 | void Workspace::slotDesktopCountChanged(uint previousCount, uint newCount) | 1143 | void Workspace::slotDesktopCountChanged(uint previousCount, uint newCount) | ||
1144 | { | 1144 | { | ||
1145 | Q_UNUSED(previousCount) | 1145 | Q_UNUSED(previousCount) | ||
▲ Show 20 Lines • Show All 667 Lines • Show Last 20 Lines |