Changeset View
Changeset View
Standalone View
Standalone View
client.cpp
Context not available. | |||||
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) | ||
Context not available. |