Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 1301 Lines • ▼ Show 20 Line(s) | 1301 | foreach (Client *cm, client->group()->members()) { | |||
---|---|---|---|---|---|
1302 | cm->updateLayer(); | 1302 | cm->updateLayer(); | ||
1303 | } | 1303 | } | ||
1304 | } | 1304 | } | ||
1305 | } | 1305 | } | ||
1306 | } | 1306 | } | ||
1307 | } | 1307 | } | ||
1308 | } // ~StackingUpdatesBlocker | 1308 | } // ~StackingUpdatesBlocker | ||
1309 | 1309 | | |||
1310 | if (showing_desktop && topDesk) | 1310 | if (showing_desktop && topDesk) { | ||
1311 | requestFocus(topDesk); | 1311 | requestFocus(topDesk); | ||
1312 | } else if (!showing_desktop && changed) { | ||||
1313 | const auto client = FocusChain::self()->getForActivation(VirtualDesktopManager::self()->current()); | ||||
1314 | if (client) { | ||||
1315 | activateClient(client); | ||||
1316 | } | ||||
1317 | } | ||||
1312 | if (changed) | 1318 | if (changed) | ||
1313 | emit showingDesktopChanged(showing); | 1319 | emit showingDesktopChanged(showing); | ||
1314 | } | 1320 | } | ||
1315 | 1321 | | |||
1316 | void Workspace::disableGlobalShortcutsForClient(bool disable) | 1322 | void Workspace::disableGlobalShortcutsForClient(bool disable) | ||
1317 | { | 1323 | { | ||
1318 | if (global_shortcuts_disabled_for_client == disable) | 1324 | if (global_shortcuts_disabled_for_client == disable) | ||
1319 | return; | 1325 | return; | ||
▲ Show 20 Lines • Show All 445 Lines • Show Last 20 Lines |