Changeset View
Changeset View
Standalone View
Standalone View
client.cpp
Show First 20 Lines • Show All 1314 Lines • ▼ Show 20 Line(s) | 1306 | { | |||
---|---|---|---|---|---|
1315 | updateWindowRules(Rules::Activity); | 1315 | updateWindowRules(Rules::Activity); | ||
1316 | 1316 | | |||
1317 | // Update states of all other windows in this group | 1317 | // Update states of all other windows in this group | ||
1318 | if (tabGroup()) | 1318 | if (tabGroup()) | ||
1319 | tabGroup()->updateStates(this, TabGroup::Activity); | 1319 | tabGroup()->updateStates(this, TabGroup::Activity); | ||
1320 | } | 1320 | } | ||
1321 | 1321 | | |||
1322 | /** | 1322 | /** | ||
1323 | * Returns the virtual desktop within the workspace() the client window | | |||
1324 | * is located in, 0 if it isn't located on any special desktop (not mapped yet), | | |||
1325 | * or NET::OnAllDesktops. Do not use desktop() directly, use | | |||
1326 | * isOnDesktop() instead. | | |||
1327 | */ | | |||
1328 | int Client::desktop() const | | |||
1329 | { | | |||
1330 | if (needsSessionInteract) { | | |||
1331 | return NET::OnAllDesktops; | | |||
1332 | } | | |||
1333 | return AbstractClient::desktop(); | | |||
1334 | } | | |||
1335 | | ||||
1336 | /** | | |||
1337 | * Returns the list of activities the client window is on. | 1323 | * Returns the list of activities the client window is on. | ||
1338 | * if it's on all activities, the list will be empty. | 1324 | * if it's on all activities, the list will be empty. | ||
1339 | * Don't use this, use isOnActivity() and friends (from class Toplevel) | 1325 | * Don't use this, use isOnActivity() and friends (from class Toplevel) | ||
1340 | */ | 1326 | */ | ||
1341 | QStringList Client::activities() const | 1327 | QStringList Client::activities() const | ||
1342 | { | 1328 | { | ||
1343 | if (needsSessionInteract) { | 1329 | if (needsSessionInteract) { | ||
1344 | return QStringList(); | 1330 | return QStringList(); | ||
▲ Show 20 Lines • Show All 866 Lines • Show Last 20 Lines |