KWin
KWin::Workspace Class Reference
#include <workspace.h>

Detailed Description
Definition at line 65 of file workspace.h.
Member Enumeration Documentation
Definition at line 302 of file workspace.h.
Constructor & Destructor Documentation
KWin::Workspace::Workspace | ( | bool | restore = false |
) |
Definition at line 88 of file workspace.cpp.
KWin::Workspace::~Workspace | ( | ) | [virtual] |
Definition at line 446 of file workspace.cpp.
Member Function Documentation
void KWin::Workspace::activateClient | ( | Client * | c, | |
bool | force = false | |||
) |
Tries to activate the client c. This function performs what you expect when clicking the respective entry in a taskbar: showing and raising the client (this may imply switching to the another virtual desktop) and putting the focus onto it. Once X really gave focus to the client window as requested, the client itself will call setActiveClient() and the operation is complete. This may not happen with certain focus policies, though.
- See also:
- stActiveClient(), requestFocus()
Definition at line 276 of file activation.cpp.
bool KWin::Workspace::activateNextClient | ( | Client * | c | ) |
Definition at line 403 of file activation.cpp.
Client * KWin::Workspace::activeClient | ( | ) | const [inline] |
Returns the active client, i.e.
the client that has the focus (or None if no client has the focus)
Definition at line 833 of file workspace.h.
int KWin::Workspace::activeScreen | ( | ) | const |
Definition at line 1654 of file workspace.cpp.
Definition at line 652 of file workspace.cpp.
Definition at line 853 of file workspace.h.
void KWin::Workspace::addRepaint | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) |
Definition at line 292 of file composite.cpp.
void KWin::Workspace::addRepaint | ( | const QRegion & | r | ) |
Definition at line 308 of file composite.cpp.
void KWin::Workspace::addRepaint | ( | const QRect & | r | ) |
Definition at line 300 of file composite.cpp.
void KWin::Workspace::addRepaintFull | ( | ) | [slot] |
Definition at line 316 of file composite.cpp.
Client c is moved around to position pos. This gives the workspace the opportunity to interveniate and to implement snap-to-windows functionality.
Definition at line 297 of file geometry.cpp.
Definition at line 465 of file geometry.cpp.
bool KWin::Workspace::allowClientActivation | ( | const Client * | c, | |
Time | time = -1U , |
|||
bool | focus_in = false , |
|||
bool | ignore_desktop = false | |||
) |
Definition at line 510 of file activation.cpp.
void KWin::Workspace::calcDesktopLayout | ( | int * | x, | |
int * | y, | |||
Qt::Orientation * | orientation | |||
) | const |
Definition at line 1736 of file workspace.cpp.
void KWin::Workspace::cancelDelayFocus | ( | ) |
Definition at line 2109 of file workspace.cpp.
void KWin::Workspace::cascadeDesktop | ( | ) |
Cascades all clients on the current desktop
Definition at line 729 of file geometry.cpp.
void KWin::Workspace::checkActiveScreen | ( | const Client * | c | ) |
Check whether a client moved completely out of what's considered the active screen, if yes, set a new active screen.
Definition at line 1671 of file workspace.cpp.
void KWin::Workspace::checkCompositeTimer | ( | ) | [inline] |
Definition at line 1004 of file workspace.h.
void KWin::Workspace::checkElectricBorder | ( | const QPoint & | pos, | |
Time | time | |||
) |
Definition at line 2208 of file workspace.cpp.
bool KWin::Workspace::checkStartupNotification | ( | Window | w, | |
KStartupInfoId & | id, | |||
KStartupInfoData & | data | |||
) |
Definition at line 2469 of file workspace.cpp.
void KWin::Workspace::checkUnredirect | ( | bool | force = false |
) |
Definition at line 582 of file composite.cpp.
void KWin::Workspace::circulateDesktopApplications | ( | ) |
Definition at line 543 of file layers.cpp.
QRect KWin::Workspace::clientArea | ( | clientAreaOption | opt, | |
int | screen, | |||
int | desktop | |||
) | const |
returns the area available for clients. This is the desktop geometry minus windows on the dock. Placement algorithms should refer to this rather than geometry().
- See also:
- geometry()
Definition at line 229 of file geometry.cpp.
Definition at line 286 of file geometry.cpp.
Definition at line 280 of file geometry.cpp.
void KWin::Workspace::clientAttentionChanged | ( | Client * | c, | |
bool | set | |||
) |
Definition at line 628 of file activation.cpp.
void KWin::Workspace::clientHidden | ( | Client * | c | ) |
Informs the workspace that the client c has been hidden. If it was the active client (or to-become the active client), the workspace activates another one.
c may already be destroyed
Definition at line 396 of file activation.cpp.
void KWin::Workspace::clientShortcutUpdated | ( | Client * | c | ) |
Definition at line 617 of file useractions.cpp.
void KWin::Workspace::closeTabBox | ( | ) |
Definition at line 1156 of file tabbox.cpp.
bool KWin::Workspace::compositingActive | ( | ) |
Definition at line 576 of file composite.cpp.
QStringList KWin::Workspace::configModules | ( | bool | controlCenter | ) | [static] |
Definition at line 1167 of file workspace.cpp.
KDecoration * KWin::Workspace::createDecoration | ( | KDecorationBridge * | bridge | ) |
Definition at line 2443 of file workspace.cpp.
bool KWin::Workspace::createOverlay | ( | ) |
Creates XComposite overlay window, call initOverlay() afterwards.
Definition at line 433 of file composite.cpp.
int KWin::Workspace::currentDesktop | ( | ) | const [inline] |
Client * KWin::Workspace::currentTabBoxClient | ( | ) | const |
Definition at line 1333 of file tabbox.cpp.
ClientList KWin::Workspace::currentTabBoxClientList | ( | ) | const |
Definition at line 1340 of file tabbox.cpp.
int KWin::Workspace::currentTabBoxDesktop | ( | ) | const |
Definition at line 1347 of file tabbox.cpp.
QList< int > KWin::Workspace::currentTabBoxDesktopList | ( | ) | const |
Definition at line 1354 of file tabbox.cpp.
QPoint KWin::Workspace::cursorPos | ( | ) | const |
Definition at line 2662 of file workspace.cpp.
double KWin::Workspace::decorationShadowBrightness | ( | ShadowType | type | ) | const [inline] |
Definition at line 1043 of file workspace.h.
double KWin::Workspace::decorationShadowOpacity | ( | ShadowType | type | ) | const [inline] |
Definition at line 1036 of file workspace.h.
QList< QRect > KWin::Workspace::decorationShadowQuads | ( | ShadowType | type, | |
QSize | size | |||
) | const [inline] |
Definition at line 1029 of file workspace.h.
double KWin::Workspace::decorationShadowSaturation | ( | ShadowType | type | ) | const [inline] |
Definition at line 1050 of file workspace.h.
int KWin::Workspace::decorationShadowTextureList | ( | ShadowType | type | ) | const [inline] |
Definition at line 1022 of file workspace.h.
Definition at line 1015 of file workspace.h.
QList< int > KWin::Workspace::decorationSupportedColors | ( | ) | const |
Returns a list of all colors (KDecorationDefines::ColorType) the current decoration supports.
Definition at line 2452 of file workspace.cpp.
int KWin::Workspace::desktopDown | ( | int | desktop, | |
bool | wrap | |||
) | const |
Definition at line 1529 of file workspace.cpp.
QString KWin::Workspace::desktopName | ( | int | desk | ) | const |
Definition at line 2464 of file workspace.cpp.
int KWin::Workspace::desktopToLeft | ( | int | desktop, | |
bool | wrap | |||
) | const |
Definition at line 1465 of file workspace.cpp.
int KWin::Workspace::desktopToRight | ( | int | desktop, | |
bool | wrap | |||
) | const |
Definition at line 1433 of file workspace.cpp.
int KWin::Workspace::desktopUp | ( | int | desktop, | |
bool | wrap | |||
) | const |
Definition at line 1497 of file workspace.cpp.
void KWin::Workspace::destroyOverlay | ( | ) |
void KWin::Workspace::disableGlobalShortcuts | ( | bool | disable | ) |
Definition at line 2630 of file workspace.cpp.
void KWin::Workspace::disableGlobalShortcutsForClient | ( | bool | disable | ) |
Definition at line 2617 of file workspace.cpp.
void KWin::Workspace::disableRulesUpdates | ( | bool | disable | ) |
void KWin::Workspace::discardUsedWindowRules | ( | Client * | c, | |
bool | withdraw | |||
) |
void KWin::Workspace::doNotManage | ( | const QString & | title | ) |
ClientList KWin::Workspace::ensureStackingOrder | ( | const ClientList & | clients | ) | const |
Definition at line 689 of file layers.cpp.
bool KWin::Workspace::fakeRequestedActivity | ( | Client * | c | ) |
Definition at line 642 of file activation.cpp.
Client * KWin::Workspace::findClient | ( | T | predicate | ) | const [inline] |
Definition at line 951 of file workspace.h.
Client * KWin::Workspace::findDesktop | ( | bool | topmost, | |
int | desktop | |||
) | const |
Definition at line 257 of file layers.cpp.
Group * KWin::Workspace::findGroup | ( | Window | leader | ) | const |
Unmanaged * KWin::Workspace::findUnmanaged | ( | T | predicate | ) | const [inline] |
Definition at line 978 of file workspace.h.
WindowRules KWin::Workspace::findWindowRules | ( | const Client * | c, | |
bool | ignore_temporary | |||
) |
bool KWin::Workspace::focusChangeEnabled | ( | ) | [inline] |
Definition at line 126 of file workspace.h.
QPoint KWin::Workspace::focusMousePosition | ( | ) | const [inline] |
Definition at line 945 of file workspace.h.
void KWin::Workspace::focusToNull | ( | ) |
Puts the focus on a dummy window Just using XSetInputFocus() with None would block keyboard input.
Definition at line 2478 of file workspace.cpp.
bool KWin::Workspace::forcedGlobalMouseGrab | ( | ) | const [inline] |
Definition at line 909 of file workspace.h.
void KWin::Workspace::forceRestacking | ( | ) | [inline] |
Definition at line 934 of file workspace.h.
void KWin::Workspace::forEachClient | ( | T | procedure | ) | [inline] |
Definition at line 972 of file workspace.h.
void KWin::Workspace::forEachClient | ( | T1 | procedure, | |
T2 | predicate | |||
) | [inline] |
Definition at line 961 of file workspace.h.
void KWin::Workspace::forEachUnmanaged | ( | T | procedure | ) | [inline] |
Definition at line 992 of file workspace.h.
void KWin::Workspace::forEachUnmanaged | ( | T1 | procedure, | |
T2 | predicate | |||
) | [inline] |
Definition at line 984 of file workspace.h.
bool KWin::Workspace::globalShortcutsDisabled | ( | ) | const [inline] |
Definition at line 919 of file workspace.h.
void KWin::Workspace::gotFocusIn | ( | const Client * | c | ) |
Definition at line 490 of file activation.cpp.
void KWin::Workspace::handleTakeActivity | ( | Client * | c, | |
Time | timestamp, | |||
int | flags | |||
) |
Definition at line 378 of file activation.cpp.
bool KWin::Workspace::hasClient | ( | const Client * | c | ) | [inline] |
Definition at line 999 of file workspace.h.
bool KWin::Workspace::hasDecorationShadows | ( | ) | const [inline] |
Definition at line 1010 of file workspace.h.
void KWin::Workspace::hideOverlay | ( | ) |
Definition at line 529 of file composite.cpp.
bool KWin::Workspace::initializing | ( | ) | const [inline] |
Definition at line 828 of file workspace.h.
bool KWin::Workspace::isNotManaged | ( | const QString & | title | ) |
bool KWin::Workspace::keyPressMouseEmulation | ( | XKeyEvent & | ev | ) | [protected] |
void KWin::Workspace::killWindow | ( | ) | [inline] |
Definition at line 97 of file workspace.h.
void KWin::Workspace::killWindowId | ( | Window | window | ) |
QStringList KWin::Workspace::listOfEffects | ( | ) | const |
Definition at line 965 of file useractions.cpp.
QStringList KWin::Workspace::loadedEffects | ( | ) | const |
Definition at line 957 of file useractions.cpp.
void KWin::Workspace::loadEffect | ( | const QString & | name | ) |
Definition at line 933 of file useractions.cpp.
void KWin::Workspace::lowerClient | ( | Client * | c, | |
bool | nogroup = false | |||
) |
Definition at line 300 of file layers.cpp.
void KWin::Workspace::lowerClientRequest | ( | Client * | c, | |
NET::RequestSource | src, | |||
Time | timestamp | |||
) |
Definition at line 424 of file layers.cpp.
bool KWin::Workspace::managingTopMenus | ( | ) | const [inline] |
Definition at line 889 of file workspace.h.
Client * KWin::Workspace::mostRecentlyActivatedClient | ( | ) | const [inline] |
Client that was activated, but it's not yet really activeClient(), because we didn't process yet the matching FocusIn event.
Used mostly in focus stealing prevention code.
Definition at line 838 of file workspace.h.
auxiliary functions to travers all clients according to the focus order. Useful for kwms Alt-tab feature.
Definition at line 1270 of file tabbox.cpp.
auxiliary functions to travers all clients according to the static order. Useful for the CDE-style Alt-tab feature.
Definition at line 1304 of file tabbox.cpp.
void KWin::Workspace::nextDesktop | ( | ) |
int KWin::Workspace::nextDesktopFocusChain | ( | int | iDesktop | ) | const |
Definition at line 1228 of file tabbox.cpp.
int KWin::Workspace::nextDesktopStatic | ( | int | iDesktop | ) | const |
Definition at line 1250 of file tabbox.cpp.
int KWin::Workspace::numberOfDesktops | ( | ) | const [inline] |
Returns the number of virtual desktops of this workspace.
Definition at line 848 of file workspace.h.
int KWin::Workspace::numScreens | ( | ) | const |
Definition at line 1647 of file workspace.cpp.
Window KWin::Workspace::overlayWindow | ( | ) | [inline] |
Definition at line 924 of file workspace.h.
int KWin::Workspace::packPositionDown | ( | const Client * | cl, | |
int | oldy, | |||
bool | bottom_edge | |||
) | const |
Definition at line 793 of file placement.cpp.
int KWin::Workspace::packPositionLeft | ( | const Client * | cl, | |
int | oldx, | |||
bool | left_edge | |||
) | const |
Definition at line 724 of file placement.cpp.
int KWin::Workspace::packPositionRight | ( | const Client * | cl, | |
int | oldx, | |||
bool | right_edge | |||
) | const |
Definition at line 747 of file placement.cpp.
int KWin::Workspace::packPositionUp | ( | const Client * | cl, | |
int | oldy, | |||
bool | top_edge | |||
) | const |
Definition at line 770 of file placement.cpp.
void KWin::Workspace::performWindowOperation | ( | Client * | c, | |
WindowOperation | op | |||
) |
Asks the internal positioning object to place a client
Definition at line 819 of file placement.cpp.
Definition at line 824 of file placement.cpp.
auxiliary functions to travers all clients according to the focus order. Useful for kwms Alt-tab feature.
Definition at line 1287 of file tabbox.cpp.
auxiliary functions to travers all clients according to the static order. Useful for the CDE-style Alt-tab feature.
Definition at line 1320 of file tabbox.cpp.
void KWin::Workspace::previousDesktop | ( | ) |
int KWin::Workspace::previousDesktopFocusChain | ( | int | iDesktop | ) | const |
Definition at line 1239 of file tabbox.cpp.
int KWin::Workspace::previousDesktopStatic | ( | int | iDesktop | ) | const |
Definition at line 1258 of file tabbox.cpp.
void KWin::Workspace::raiseClient | ( | Client * | c, | |
bool | nogroup = false | |||
) |
Definition at line 358 of file layers.cpp.
void KWin::Workspace::raiseClientRequest | ( | Client * | c, | |
NET::RequestSource | src, | |||
Time | timestamp | |||
) |
Definition at line 413 of file layers.cpp.
void KWin::Workspace::raiseOrLowerClient | ( | Client * | c | ) |
Definition at line 281 of file layers.cpp.
void KWin::Workspace::reconfigure | ( | ) | [slot] |
Definition at line 971 of file workspace.cpp.
void KWin::Workspace::reconfigureEffect | ( | const QString & | name | ) |
Definition at line 951 of file useractions.cpp.
void KWin::Workspace::refresh | ( | ) | [slot] |
void KWin::Workspace::refTabBox | ( | ) |
Definition at line 1144 of file tabbox.cpp.
Definition at line 659 of file workspace.cpp.
Definition at line 858 of file workspace.h.
Definition at line 645 of file workspace.cpp.
void KWin::Workspace::requestDelayFocus | ( | Client * | c | ) |
Definition at line 2099 of file workspace.cpp.
void KWin::Workspace::requestFocus | ( | Client * | c, | |
bool | force = false | |||
) |
Tries to activate the client by asking X for the input focus. This function does not perform any show, raise or desktop switching. See Workspace::activateClient() instead.
- See also:
- Workspace::activateClient()
Definition at line 316 of file activation.cpp.
void KWin::Workspace::reserveElectricBorder | ( | ElectricBorder | border | ) |
Definition at line 2191 of file workspace.cpp.
void KWin::Workspace::reserveElectricBorderSwitching | ( | bool | reserve | ) |
Definition at line 2182 of file workspace.cpp.
void KWin::Workspace::resetShowingDesktop | ( | bool | keep_hidden | ) |
Following Kicker's behavior: Changing a virtual desktop resets the state and shows the windows again.
Unminimizing a window resets the state but keeps the windows hidden (except the one that was unminimized). A new window resets the state and shows the windows again, with the new window being active. Due to popular demand (#67406) by people who apparently don't see a difference between "show desktop" and "minimize all", this is not true if "showDesktopIsMinimizeAll" is set in kwinrc. In such case showing a new window resets the state but doesn't show windows.
Definition at line 2580 of file workspace.cpp.
void KWin::Workspace::restackClientUnderActive | ( | Client * | c | ) |
Definition at line 436 of file layers.cpp.
void KWin::Workspace::restoreFocus | ( | ) |
Definition at line 615 of file activation.cpp.
void KWin::Workspace::restoreSessionStackingOrder | ( | Client * | c | ) |
Definition at line 523 of file layers.cpp.
bool KWin::Workspace::rulesUpdatesDisabled | ( | ) | const [inline] |
Definition at line 929 of file workspace.h.
QRect KWin::Workspace::screenGeometry | ( | int | screen | ) | const |
Definition at line 1692 of file workspace.cpp.
int KWin::Workspace::screenNumber | ( | const QPoint & | pos | ) | const |
Definition at line 1699 of file workspace.cpp.
static Workspace* KWin::Workspace::self | ( | ) | [inline, static] |
Definition at line 72 of file workspace.h.
void KWin::Workspace::sendClientToDesktop | ( | Client * | c, | |
int | desk, | |||
bool | dont_activate | |||
) |
Sends client c to desktop desk.
Takes care of transients as well.
Definition at line 1619 of file workspace.cpp.
void KWin::Workspace::sendClientToScreen | ( | Client * | c, | |
int | screen | |||
) |
Definition at line 1706 of file workspace.cpp.
void KWin::Workspace::sendPingToWindow | ( | Window | w, | |
Time | timestamp | |||
) |
Definition at line 1781 of file workspace.cpp.
void KWin::Workspace::sendTakeActivity | ( | Client * | c, | |
Time | timestamp, | |||
long | flags | |||
) |
Definition at line 1786 of file workspace.cpp.
void KWin::Workspace::sessionSaveDone | ( | ) | [inline] |
Definition at line 899 of file workspace.h.
void KWin::Workspace::sessionSaveStarted | ( | ) | [inline] |
Definition at line 894 of file workspace.h.
bool KWin::Workspace::sessionSaving | ( | ) | const [inline] |
Definition at line 904 of file workspace.h.
Informs the workspace about the active client, i.e. the client that has the focus (or None if no client has the focus). This functions is called by the client itself that gets focus. It has no other effect than fixing the focus chain and the return value of activeClient(). And of course, to propagate the active client to the world.
Definition at line 225 of file activation.cpp.
void KWin::Workspace::setActiveScreenMouse | ( | const QPoint & | mousepos | ) |
Called e.g.
when a user clicks on a window, set active screen to be the screen where the click occurred
Definition at line 1685 of file workspace.cpp.
void KWin::Workspace::setClientIsMoving | ( | Client * | c | ) |
Indicates that the client c is being moved around by the user.
Marks the client as being moved around by the user.
Definition at line 715 of file geometry.cpp.
bool KWin::Workspace::setCurrentDesktop | ( | int | new_desktop | ) |
Sets the current desktop to new_desktop.
Shows/Hides windows according to the stacking order and finally propages the new desktop to the world
Definition at line 1299 of file workspace.cpp.
void KWin::Workspace::setCurrentScreen | ( | int | new_screen | ) |
Definition at line 463 of file activation.cpp.
void KWin::Workspace::setNumberOfDesktops | ( | int | n | ) |
void KWin::Workspace::setOverlayShape | ( | const QRegion & | reg | ) |
Definition at line 537 of file composite.cpp.
void KWin::Workspace::setShouldGetFocus | ( | Client * | c | ) |
Definition at line 501 of file activation.cpp.
void KWin::Workspace::setShowingDesktop | ( | bool | showing | ) |
Definition at line 2531 of file workspace.cpp.
void KWin::Workspace::setTabBoxClient | ( | Client * | c | ) |
Definition at line 1361 of file tabbox.cpp.
void KWin::Workspace::setTabBoxDesktop | ( | int | iDesktop | ) |
Definition at line 1367 of file tabbox.cpp.
void KWin::Workspace::setupOverlay | ( | Window | window | ) |
void KWin::Workspace::setupWindowShortcutDone | ( | bool | ok | ) | [slot] |
Definition at line 604 of file useractions.cpp.
void KWin::Workspace::setWasUserInteraction | ( | ) | [inline] |
Definition at line 879 of file workspace.h.
bool KWin::Workspace::shortcutAvailable | ( | const KShortcut & | cut, | |
Client * | ignore = NULL | |||
) | const |
Definition at line 1498 of file useractions.cpp.
bool KWin::Workspace::showingDesktop | ( | ) | const [inline] |
Definition at line 914 of file workspace.h.
void KWin::Workspace::showOverlay | ( | ) |
Definition at line 519 of file composite.cpp.
Definition at line 869 of file workspace.h.
void KWin::Workspace::showWindowMenu | ( | int | x, | |
int | y, | |||
Client * | cl | |||
) | [inline] |
Shows the menu operations menu for the client and makes it active if it's not already.
Definition at line 1356 of file useractions.cpp.
void KWin::Workspace::showWindowMenuAt | ( | unsigned long | id, | |
int | x, | |||
int | y | |||
) |
Definition at line 928 of file useractions.cpp.
void KWin::Workspace::slotActivateAttentionWindow | ( | ) | [slot] |
Definition at line 973 of file useractions.cpp.
void KWin::Workspace::slotDisableGlobalShortcuts | ( | ) | [slot] |
Activating/deactivating this feature works like this: When nothing is active, and the shortcut is pressed, global shortcuts are disabled (using global_shortcuts_disabled) When a window that has disabling forced is activated, global shortcuts are disabled.
(using global_shortcuts_disabled_for_client) When a shortcut is pressed and global shortcuts are disabled (either by a shortcut or for a client), they are enabled again.
Definition at line 2607 of file workspace.cpp.
void KWin::Workspace::slotGrabDesktop | ( | ) | [slot] |
Takes a screenshot of the whole desktop and puts it in the clipboard.
Definition at line 1849 of file workspace.cpp.
void KWin::Workspace::slotGrabWindow | ( | ) | [slot] |
Takes a screenshot of the current window and puts it in the clipboard.
Definition at line 1795 of file workspace.cpp.
void KWin::Workspace::slotKillWindow | ( | ) | [slot] |
Kill Window feature, similar to xkill
Definition at line 1319 of file useractions.cpp.
void KWin::Workspace::slotMouseEmulation | ( | ) | [slot] |
void KWin::Workspace::slotReconfigure | ( | ) | [slot] |
Definition at line 1003 of file workspace.cpp.
void KWin::Workspace::slotReinitCompositing | ( | ) | [slot] |
Definition at line 1087 of file workspace.cpp.
void KWin::Workspace::slotSettingsChanged | ( | int | category | ) | [slot] |
Definition at line 991 of file workspace.cpp.
void KWin::Workspace::slotSetupWindowShortcut | ( | ) | [slot] |
Definition at line 1204 of file useractions.cpp.
void KWin::Workspace::slotSwitchDesktopDown | ( | ) | [slot] |
Definition at line 1033 of file useractions.cpp.
void KWin::Workspace::slotSwitchDesktopLeft | ( | ) | [slot] |
Definition at line 1017 of file useractions.cpp.
void KWin::Workspace::slotSwitchDesktopNext | ( | ) | [slot] |
Definition at line 979 of file useractions.cpp.
void KWin::Workspace::slotSwitchDesktopPrevious | ( | ) | [slot] |
Definition at line 996 of file useractions.cpp.
void KWin::Workspace::slotSwitchDesktopRight | ( | ) | [slot] |
Definition at line 1009 of file useractions.cpp.
void KWin::Workspace::slotSwitchDesktopUp | ( | ) | [slot] |
Definition at line 1025 of file useractions.cpp.
void KWin::Workspace::slotSwitchToDesktop | ( | int | i | ) | [slot] |
Definition at line 1041 of file useractions.cpp.
void KWin::Workspace::slotSwitchToDesktop1 | ( | ) | [inline, slot] |
Definition at line 373 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop10 | ( | ) | [inline, slot] |
Definition at line 382 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop11 | ( | ) | [inline, slot] |
Definition at line 383 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop12 | ( | ) | [inline, slot] |
Definition at line 384 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop13 | ( | ) | [inline, slot] |
Definition at line 385 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop14 | ( | ) | [inline, slot] |
Definition at line 386 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop15 | ( | ) | [inline, slot] |
Definition at line 387 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop16 | ( | ) | [inline, slot] |
Definition at line 388 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop17 | ( | ) | [inline, slot] |
Definition at line 389 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop18 | ( | ) | [inline, slot] |
Definition at line 390 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop19 | ( | ) | [inline, slot] |
Definition at line 391 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop2 | ( | ) | [inline, slot] |
Definition at line 374 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop20 | ( | ) | [inline, slot] |
Definition at line 392 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop3 | ( | ) | [inline, slot] |
Definition at line 375 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop4 | ( | ) | [inline, slot] |
Definition at line 376 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop5 | ( | ) | [inline, slot] |
Definition at line 377 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop6 | ( | ) | [inline, slot] |
Definition at line 378 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop7 | ( | ) | [inline, slot] |
Definition at line 379 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop8 | ( | ) | [inline, slot] |
Definition at line 380 of file workspace.h.
void KWin::Workspace::slotSwitchToDesktop9 | ( | ) | [inline, slot] |
Definition at line 381 of file workspace.h.
void KWin::Workspace::slotSwitchToNextScreen | ( | ) | [slot] |
Definition at line 1062 of file useractions.cpp.
void KWin::Workspace::slotSwitchToScreen | ( | int | i | ) | [slot] |
Definition at line 1057 of file useractions.cpp.
void KWin::Workspace::slotSwitchToScreen0 | ( | ) | [inline, slot] |
Definition at line 417 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen1 | ( | ) | [inline, slot] |
Definition at line 418 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen2 | ( | ) | [inline, slot] |
Definition at line 419 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen3 | ( | ) | [inline, slot] |
Definition at line 420 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen4 | ( | ) | [inline, slot] |
Definition at line 421 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen5 | ( | ) | [inline, slot] |
Definition at line 422 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen6 | ( | ) | [inline, slot] |
Definition at line 423 of file workspace.h.
void KWin::Workspace::slotSwitchToScreen7 | ( | ) | [inline, slot] |
Definition at line 424 of file workspace.h.
void KWin::Workspace::slotToggleCompositing | ( | ) | [slot] |
Definition at line 275 of file composite.cpp.
void KWin::Workspace::slotWalkBackThroughDesktopList | ( | ) | [slot] |
Definition at line 938 of file tabbox.cpp.
void KWin::Workspace::slotWalkBackThroughDesktops | ( | ) | [slot] |
Definition at line 908 of file tabbox.cpp.
void KWin::Workspace::slotWalkBackThroughWindows | ( | ) | [slot] |
Definition at line 870 of file tabbox.cpp.
void KWin::Workspace::slotWalkThroughDesktopList | ( | ) | [slot] |
Definition at line 923 of file tabbox.cpp.
void KWin::Workspace::slotWalkThroughDesktops | ( | ) | [slot] |
Definition at line 893 of file tabbox.cpp.
void KWin::Workspace::slotWalkThroughWindows | ( | ) | [slot] |
Definition at line 846 of file tabbox.cpp.
void KWin::Workspace::slotWindowAbove | ( | ) | [slot] |
Definition at line 1191 of file useractions.cpp.
void KWin::Workspace::slotWindowBelow | ( | ) | [slot] |
Definition at line 1198 of file useractions.cpp.
void KWin::Workspace::slotWindowClose | ( | ) | [slot] |
Closes the popup client
Definition at line 1394 of file useractions.cpp.
void KWin::Workspace::slotWindowFullScreen | ( | ) | [slot] |
Definition at line 1177 of file useractions.cpp.
void KWin::Workspace::slotWindowGrowHorizontal | ( | ) | [slot] |
Definition at line 634 of file placement.cpp.
void KWin::Workspace::slotWindowGrowVertical | ( | ) | [slot] |
Definition at line 679 of file placement.cpp.
void KWin::Workspace::slotWindowLower | ( | ) | [slot] |
Lowers the popup client
Definition at line 1153 of file useractions.cpp.
void KWin::Workspace::slotWindowMaximize | ( | ) | [slot] |
Maximizes the popup client
Definition at line 1094 of file useractions.cpp.
void KWin::Workspace::slotWindowMaximizeHorizontal | ( | ) | [slot] |
Maximizes the popup client horiozontally
Definition at line 1114 of file useractions.cpp.
void KWin::Workspace::slotWindowMaximizeVertical | ( | ) | [slot] |
Maximizes the popup client vertically
Definition at line 1104 of file useractions.cpp.
void KWin::Workspace::slotWindowMinimize | ( | ) | [slot] |
Minimizes the popup client
Definition at line 1125 of file useractions.cpp.
void KWin::Workspace::slotWindowMove | ( | ) | [slot] |
Starts keyboard move mode for the popup client
Definition at line 1405 of file useractions.cpp.
void KWin::Workspace::slotWindowNoBorder | ( | ) | [slot] |
Definition at line 1184 of file useractions.cpp.
void KWin::Workspace::slotWindowOnAllDesktops | ( | ) | [slot] |
Definition at line 1170 of file useractions.cpp.
void KWin::Workspace::slotWindowOperations | ( | ) | [slot] |
Shows the window operations popup menu for the activeClient()
Definition at line 1348 of file useractions.cpp.
void KWin::Workspace::slotWindowPackDown | ( | ) | [slot] |
Definition at line 627 of file placement.cpp.
void KWin::Workspace::slotWindowPackLeft | ( | ) | [slot] |
Moves active window left until in bumps into another window or workarea edge.
Definition at line 605 of file placement.cpp.
void KWin::Workspace::slotWindowPackRight | ( | ) | [slot] |
Definition at line 612 of file placement.cpp.
void KWin::Workspace::slotWindowPackUp | ( | ) | [slot] |
Definition at line 620 of file placement.cpp.
void KWin::Workspace::slotWindowRaise | ( | ) | [slot] |
Raises the popup client
Definition at line 1143 of file useractions.cpp.
void KWin::Workspace::slotWindowRaiseOrLower | ( | ) | [slot] |
Does a toggle-raise-and-lower on the popup client;
Definition at line 1163 of file useractions.cpp.
void KWin::Workspace::slotWindowResize | ( | ) | [slot] |
Starts keyboard resize mode for the popup client
Definition at line 1414 of file useractions.cpp.
void KWin::Workspace::slotWindowShade | ( | ) | [slot] |
Shades/unshades the popup client respectively
Definition at line 1134 of file useractions.cpp.
void KWin::Workspace::slotWindowShrinkHorizontal | ( | ) | [slot] |
Definition at line 660 of file placement.cpp.
void KWin::Workspace::slotWindowShrinkVertical | ( | ) | [slot] |
Definition at line 705 of file placement.cpp.
void KWin::Workspace::slotWindowToDesktop | ( | int | i | ) | [slot] |
Definition at line 1047 of file useractions.cpp.
void KWin::Workspace::slotWindowToDesktop1 | ( | ) | [inline, slot] |
Definition at line 395 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop10 | ( | ) | [inline, slot] |
Definition at line 404 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop11 | ( | ) | [inline, slot] |
Definition at line 405 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop12 | ( | ) | [inline, slot] |
Definition at line 406 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop13 | ( | ) | [inline, slot] |
Definition at line 407 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop14 | ( | ) | [inline, slot] |
Definition at line 408 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop15 | ( | ) | [inline, slot] |
Definition at line 409 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop16 | ( | ) | [inline, slot] |
Definition at line 410 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop17 | ( | ) | [inline, slot] |
Definition at line 411 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop18 | ( | ) | [inline, slot] |
Definition at line 412 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop19 | ( | ) | [inline, slot] |
Definition at line 413 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop2 | ( | ) | [inline, slot] |
Definition at line 396 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop20 | ( | ) | [inline, slot] |
Definition at line 414 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop3 | ( | ) | [inline, slot] |
Definition at line 397 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop4 | ( | ) | [inline, slot] |
Definition at line 398 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop5 | ( | ) | [inline, slot] |
Definition at line 399 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop6 | ( | ) | [inline, slot] |
Definition at line 400 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop7 | ( | ) | [inline, slot] |
Definition at line 401 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop8 | ( | ) | [inline, slot] |
Definition at line 402 of file workspace.h.
void KWin::Workspace::slotWindowToDesktop9 | ( | ) | [inline, slot] |
Definition at line 403 of file workspace.h.
void KWin::Workspace::slotWindowToDesktopDown | ( | ) | [slot] |
Definition at line 1300 of file useractions.cpp.
void KWin::Workspace::slotWindowToDesktopLeft | ( | ) | [slot] |
Definition at line 1270 of file useractions.cpp.
void KWin::Workspace::slotWindowToDesktopRight | ( | ) | [slot] |
Definition at line 1255 of file useractions.cpp.
void KWin::Workspace::slotWindowToDesktopUp | ( | ) | [slot] |
Definition at line 1285 of file useractions.cpp.
void KWin::Workspace::slotWindowToNextDesktop | ( | ) | [slot] |
Move window to next desktop
Definition at line 1214 of file useractions.cpp.
void KWin::Workspace::slotWindowToNextScreen | ( | ) | [slot] |
Definition at line 1079 of file useractions.cpp.
void KWin::Workspace::slotWindowToPreviousDesktop | ( | ) | [slot] |
Move window to previous desktop
Definition at line 1236 of file useractions.cpp.
void KWin::Workspace::slotWindowToScreen | ( | int | i | ) | [slot] |
Definition at line 1067 of file useractions.cpp.
void KWin::Workspace::slotWindowToScreen0 | ( | ) | [inline, slot] |
Definition at line 426 of file workspace.h.
void KWin::Workspace::slotWindowToScreen1 | ( | ) | [inline, slot] |
Definition at line 427 of file workspace.h.
void KWin::Workspace::slotWindowToScreen2 | ( | ) | [inline, slot] |
Definition at line 428 of file workspace.h.
void KWin::Workspace::slotWindowToScreen3 | ( | ) | [inline, slot] |
Definition at line 429 of file workspace.h.
void KWin::Workspace::slotWindowToScreen4 | ( | ) | [inline, slot] |
Definition at line 430 of file workspace.h.
void KWin::Workspace::slotWindowToScreen5 | ( | ) | [inline, slot] |
Definition at line 431 of file workspace.h.
void KWin::Workspace::slotWindowToScreen6 | ( | ) | [inline, slot] |
Definition at line 432 of file workspace.h.
void KWin::Workspace::slotWindowToScreen7 | ( | ) | [inline, slot] |
Definition at line 433 of file workspace.h.
const ClientList & KWin::Workspace::stackingOrder | ( | ) | const [inline] |
Returns the list of clients sorted in stacking order, with topmost client at the last position.
Definition at line 863 of file workspace.h.
void KWin::Workspace::storeSession | ( | KConfig * | config, | |
SMSavePhase | phase | |||
) |
void KWin::Workspace::suspendCompositing | ( | bool | suspend | ) | [slot] |
Definition at line 285 of file composite.cpp.
void KWin::Workspace::suspendCompositing | ( | ) | [slot] |
Definition at line 280 of file composite.cpp.
void KWin::Workspace::takeActivity | ( | Client * | c, | |
int | flags, | |||
bool | handled | |||
) |
Definition at line 321 of file activation.cpp.
SessionInfo * KWin::Workspace::takeSessionInfo | ( | Client * | c | ) |
Returns a SessionInfo for client c. The returned session info is removed from the storage. It's up to the caller to delete it.
This function is called when a new window is mapped and must be managed. We try to find a matching entry in the session.
May return 0 if there's no session info for the client.
void KWin::Workspace::toggleEffect | ( | const QString & | name | ) |
Definition at line 939 of file useractions.cpp.
void KWin::Workspace::toggleTopDockShadows | ( | bool | on | ) |
Client * KWin::Workspace::topClientOnDesktop | ( | int | desktop, | |
int | screen, | |||
bool | unconstrained = false , |
|||
bool | only_normal = true | |||
) | const |
Returns topmost visible client. Windows on the dock, the desktop or of any other special kind are excluded. Also if the window doesn't accept focus it's excluded.
Definition at line 232 of file layers.cpp.
int KWin::Workspace::topMenuHeight | ( | ) | const |
Definition at line 2432 of file workspace.cpp.
void KWin::Workspace::unclutterDesktop | ( | ) |
Unclutters the current desktop by smart-placing all clients again.
Definition at line 751 of file geometry.cpp.
void KWin::Workspace::unfakeActivity | ( | Client * | c | ) |
Definition at line 654 of file activation.cpp.
void KWin::Workspace::unloadEffect | ( | const QString & | name | ) |
Definition at line 945 of file useractions.cpp.
void KWin::Workspace::unrefTabBox | ( | ) |
Definition at line 1150 of file tabbox.cpp.
void KWin::Workspace::unreserveElectricBorder | ( | ElectricBorder | border | ) |
Definition at line 2199 of file workspace.cpp.
void KWin::Workspace::updateClientArea | ( | ) | [slot] |
Definition at line 216 of file geometry.cpp.
void KWin::Workspace::updateClientLayer | ( | Client * | c | ) |
Definition at line 96 of file layers.cpp.
void KWin::Workspace::updateColormap | ( | ) |
Updates the current colormap according to the currently active client.
Definition at line 954 of file workspace.cpp.
void KWin::Workspace::updateCurrentTopMenu | ( | ) |
Definition at line 751 of file workspace.cpp.
void KWin::Workspace::updateDesktopLayout | ( | ) |
Definition at line 1725 of file workspace.cpp.
void KWin::Workspace::updateFocusChains | ( | Client * | c, | |
FocusChainChange | change | |||
) |
Definition at line 670 of file workspace.cpp.
void KWin::Workspace::updateFocusMousePosition | ( | const QPoint & | pos | ) | [inline] |
Definition at line 940 of file workspace.h.
void KWin::Workspace::updateMinimizedOfTransients | ( | Client * | c | ) |
void KWin::Workspace::updateOnAllDesktopsOfTransients | ( | Client * | c | ) |
void KWin::Workspace::updateStackingOrder | ( | bool | propagate_new_clients = false |
) |
Definition at line 110 of file layers.cpp.
bool KWin::Workspace::waitForCompositingSetup | ( | ) |
This D-Bus call is used by the compositing kcm.
Since the reconfigure() D-Bus call delays the actual reconfiguring, it is not possible to immediately call compositingActive(). Therefore the kcm will instead call this to ensure the reconfiguring has already happened.
Definition at line 982 of file workspace.cpp.
bool KWin::Workspace::wasUserInteraction | ( | ) | const [inline] |
Definition at line 884 of file workspace.h.
void KWin::Workspace::windowToNextDesktop | ( | Client * | c | ) |
Definition at line 1219 of file useractions.cpp.
void KWin::Workspace::windowToPreviousDesktop | ( | Client * | c | ) |
Definition at line 1241 of file useractions.cpp.
bool KWin::Workspace::workspaceEvent | ( | QEvent * | e | ) |
Definition at line 531 of file events.cpp.
bool KWin::Workspace::workspaceEvent | ( | XEvent * | e | ) |
Handles workspace specific XEvents
Definition at line 224 of file events.cpp.
ToplevelList KWin::Workspace::xStackingOrder | ( | ) | const |
Definition at line 731 of file layers.cpp.
Friends And Related Function Documentation
bool performTransiencyCheck | ( | ) | [friend] |
The documentation for this class was generated from the following files: