kwin Library API Documentation

KWinInternal::Workspace Class Reference

Inheritance diagram for KWinInternal::Workspace:

Inheritance graph
[legend]
Collaboration diagram for KWinInternal::Workspace:

Collaboration graph
[legend]
List of all members.

Public Slots

void refresh ()
void slotSwitchDesktopNext ()
void slotSwitchDesktopPrevious ()
void slotSwitchDesktopRight ()
void slotSwitchDesktopLeft ()
void slotSwitchDesktopUp ()
void slotSwitchDesktopDown ()
void slotSwitchToDesktop (int)
void slotWindowToDesktop (int)
void slotWindowMaximize ()
void slotWindowMaximizeVertical ()
void slotWindowMaximizeHorizontal ()
void slotWindowMinimize ()
void slotWindowShade ()
void slotWindowRaise ()
void slotWindowLower ()
void slotWindowRaiseOrLower ()
void slotActivateAttentionWindow ()
void slotWindowPackLeft ()
void slotWindowPackRight ()
void slotWindowPackUp ()
void slotWindowPackDown ()
void slotWindowGrowHorizontal ()
void slotWindowGrowVertical ()
void slotWindowShrinkHorizontal ()
void slotWindowShrinkVertical ()
void slotWalkThroughDesktops ()
void slotWalkBackThroughDesktops ()
void slotWalkThroughDesktopList ()
void slotWalkBackThroughDesktopList ()
void slotWalkThroughWindows ()
void slotWalkBackThroughWindows ()
void slotWindowOperations ()
void slotWindowClose ()
void slotWindowMove ()
void slotWindowResize ()
void slotWindowAbove ()
void slotWindowBelow ()
void slotWindowOnAllDesktops ()
void slotWindowFullScreen ()
void slotWindowNoBorder ()
void slotWindowToNextDesktop ()
void slotWindowToPreviousDesktop ()
void slotWindowToDesktopRight ()
void slotWindowToDesktopLeft ()
void slotWindowToDesktopUp ()
void slotWindowToDesktopDown ()
void slotMouseEmulation ()
void slotSettingsChanged (int category)
void slotReconfigure ()
void slotKillWindow ()
void slotGrabWindow ()
void slotGrabDesktop ()
void slotSetupWindowShortcut ()
void setupWindowShortcutDone (bool)
void updateClientArea ()
void startKompmgr ()

Signals

void kompmgrStarted ()
void kompmgrStopped ()

Public Member Functions

 Workspace (bool restore=FALSE)
virtual ~Workspace ()
bool workspaceEvent (XEvent *)
KDecorationcreateDecoration (KDecorationBridge *bridge)
bool hasClient (const Client *)
template<typename T>
ClientfindClient (T predicate)
template<typename T1, typename T2>
void forEachClient (T1 procedure, T2 predicate)
template<typename T>
void forEachClient (T procedure)
QRect clientArea (clientAreaOption, const QPoint &p, int desktop) const
QRect clientArea (clientAreaOption, const Client *c) const
void killWindowId (Window window)
void killWindow ()
WId rootWin () const
bool initializing () const
ClientactiveClient () const
ClientmostRecentlyActivatedClient () const
void activateClient (Client *, bool force=FALSE)
void requestFocus (Client *c, bool force=FALSE)
void takeActivity (Client *c, int flags, bool handled)
void handleTakeActivity (Client *c, Time timestamp, int flags)
bool allowClientActivation (const Client *c, Time time=-1U, bool focus_in=false)
void restoreFocus ()
void gotFocusIn (const Client *)
void setShouldGetFocus (Client *)
bool fakeRequestedActivity (Client *c)
void unfakeActivity (Client *c)
bool activateNextClient (Client *c)
bool focusChangeEnabled ()
void updateColormap ()
void setClientIsMoving (Client *c)
void place (Client *c, QRect &area)
void placeSmart (Client *c, const QRect &area)
QPoint adjustClientPosition (Client *c, QPoint pos)
QRect adjustClientSize (Client *c, QRect moveResizeGeom, int mode)
void raiseClient (Client *c)
void lowerClient (Client *c)
void raiseClientRequest (Client *c, NET::RequestSource src, Time timestamp)
void lowerClientRequest (Client *c, NET::RequestSource src, Time timestamp)
void restackClientUnderActive (Client *)
void updateClientLayer (Client *c)
void raiseOrLowerClient (Client *)
void reconfigure ()
void clientHidden (Client *)
void clientAttentionChanged (Client *c, bool set)
void clientMoved (const QPoint &pos, Time time)
int currentDesktop () const
int numberOfDesktops () const
void setNumberOfDesktops (int n)
QWidget * desktopWidget ()
ClientnextFocusChainClient (Client *) const
ClientpreviousFocusChainClient (Client *) const
ClientnextStaticClient (Client *) const
ClientpreviousStaticClient (Client *) const
int nextDesktopFocusChain (int iDesktop) const
int previousDesktopFocusChain (int iDesktop) const
void closeTabBox ()
const ClientListstackingOrder () const
ClientList ensureStackingOrder (const ClientList &clients) const
ClienttopClientOnDesktop (int desktop, bool unconstrained=false) const
ClientfindDesktop (bool topmost, int desktop) const
void sendClientToDesktop (Client *c, int desktop, bool dont_activate)
void showWindowMenuAt (unsigned long id, int x, int y)
void showWindowMenu (const QRect &pos, Client *cl)
void showWindowMenu (int x, int y, Client *cl)
void showWindowMenu (QPoint pos, Client *cl)
void updateMinimizedOfTransients (Client *)
void updateOnAllDesktopsOfTransients (Client *)
void checkTransients (Window w)
void performWindowOperation (Client *c, WindowOperation op)
void storeSession (KConfig *config, SMSavePhase phase)
SessionInfotakeSessionInfo (Client *)
WindowRules findWindowRules (const Client *, bool)
void rulesUpdated ()
void cascadeDesktop ()
void unclutterDesktop ()
void doNotManage (QString)
bool setCurrentDesktop (int new_desktop)
void nextDesktop ()
void previousDesktop ()
void circulateDesktopApplications ()
QString desktopName (int desk) const
void setDesktopLayout (int o, int x, int y)
bool isNotManaged (const QString &title)
void sendPingToWindow (Window w, Time timestamp)
void sendTakeActivity (Client *c, Time timestamp, long flags)
void stopKompmgr ()
bool kompmgrIsRunning ()
void setOpacity (unsigned long winId, unsigned int opacityPercent)
void setShadowSize (unsigned long winId, unsigned int shadowSizePercent)
void setUnshadowed (unsigned long winId)
void removeClient (Client *, allowed_t)
void setActiveClient (Client *, allowed_t)
GroupfindGroup (Window leader) const
void addGroup (Group *group, allowed_t)
void removeGroup (Group *group, allowed_t)
GroupfindClientLeaderGroup (const Client *c) const
bool checkStartupNotification (Window w, KStartupInfoId &id, KStartupInfoData &data)
void focusToNull ()
bool forcedGlobalMouseGrab () const
void clientShortcutUpdated (Client *c)
bool shortcutAvailable (const KShortcut &cut, Client *ignore=NULL) const
void sessionSaveStarted ()
void sessionSaveDone ()
void setWasUserInteraction ()
bool wasUserInteraction () const
bool sessionSaving () const
bool managingTopMenus () const
int topMenuHeight () const
void updateCurrentTopMenu ()
int packPositionLeft (const Client *cl, int oldx, bool left_edge) const
int packPositionRight (const Client *cl, int oldx, bool right_edge) const
int packPositionUp (const Client *cl, int oldy, bool top_edge) const
int packPositionDown (const Client *cl, int oldy, bool bottom_edge) const
void cancelDelayFocus ()
void requestDelayFocus (Client *)
void toggleTopDockShadows (bool on)

Static Public Member Functions

static Workspaceself ()
static QStringList configModules (bool controlCenter)

Protected Member Functions

bool keyPressMouseEmulation (XKeyEvent &ev)
bool netCheck (XEvent *e)

Friends

class StackingUpdatesBlocker

Detailed Description

Definition at line 72 of file workspace.h.


Member Function Documentation

bool KWinInternal::Workspace::workspaceEvent XEvent *  e  ) 
 

Handles workspace specific XEvents

Definition at line 190 of file events.cpp.

References activateNextClient(), KWinInternal::atoms, findClient(), focusToNull(), KWinInternal::Client::frameId(), KWinInternal::TabBox::handleMouseEvent(), KWinInternal::Atoms::kde_net_wm_user_creation_time, KWinInternal::Client::keyPressEvent(), keyPressMouseEmulation(), mostRecentlyActivatedClient(), KWinInternal::Client::moveResizeGrabWindow(), netCheck(), requestFocus(), rootWin(), KWinInternal::updateXTime(), KWinInternal::Client::wantsTabFocus(), and KWinInternal::Client::windowEvent().

QRect KWinInternal::Workspace::clientArea clientAreaOption  opt,
const QPoint &  p,
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 208 of file geometry.cpp.

References currentDesktop(), KWinInternal::options, KWinInternal::Options::xineramaFullscreenEnabled, KWinInternal::Options::xineramaMaximizeEnabled, KWinInternal::Options::xineramaMovementEnabled, and KWinInternal::Options::xineramaPlacementEnabled.

Referenced by adjustClientPosition(), adjustClientSize(), KWinInternal::Client::checkWorkspacePosition(), clientArea(), KWinInternal::Client::growHorizontal(), KWinInternal::Client::growVertical(), KWinInternal::Client::isFullScreenable(), KWinInternal::Client::isMaximizable(), KWinInternal::Client::manage(), packPositionDown(), packPositionLeft(), packPositionRight(), packPositionUp(), and slotSetupWindowShortcut().

Client * KWinInternal::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 657 of file workspace.h.

Referenced by circulateDesktopApplications(), KWinInternal::TabBox::reset(), and updateColormap().

void KWinInternal::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 260 of file activation.cpp.

References currentDesktop(), KWinInternal::Client::desktop(), KWinInternal::Options::focusPolicyIsReasonable(), KWinInternal::Client::ignoreFocusStealing(), KWinInternal::Client::isMinimized(), KWinInternal::Client::isOnDesktop(), KWinInternal::options, raiseClient(), requestFocus(), setActiveClient(), setCurrentDesktop(), KWinInternal::Client::unminimize(), and KWinInternal::Client::updateUserTime().

Referenced by KWinInternal::RootInfo::changeActiveWindow(), KWinInternal::Client::checkActiveModal(), circulateDesktopApplications(), and takeActivity().

void KWinInternal::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 300 of file activation.cpp.

References takeActivity().

Referenced by activateClient(), activateNextClient(), KWinInternal::Client::manage(), restoreFocus(), sendClientToDesktop(), setCurrentDesktop(), KWinInternal::Client::setShade(), and workspaceEvent().

void KWinInternal::Workspace::updateColormap  ) 
 

Updates the current colormap according to the currently active client

Definition at line 779 of file workspace.cpp.

References activeClient(), and KWinInternal::Client::colormap().

Referenced by setActiveClient(), and KWinInternal::Client::windowEvent().

void KWinInternal::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 579 of file geometry.cpp.

Referenced by slotSwitchDesktopDown(), slotSwitchDesktopLeft(), slotWindowMaximizeVertical(), slotWindowShade(), and slotWindowToDesktop().

void KWinInternal::Workspace::place Client c,
QRect &  area
 

Asks the internal positioning object to place a client

Definition at line 747 of file placement.cpp.

References KWinInternal::Placement::place().

Referenced by KWinInternal::Client::manage().

QPoint KWinInternal::Workspace::adjustClientPosition Client c,
QPoint  pos
 

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 270 of file geometry.cpp.

References KWinInternal::Options::borderSnapZone, clientArea(), currentDesktop(), KWinInternal::Client::desktop(), KWinInternal::Client::height(), KWinInternal::options, KWinInternal::Client::rect(), KWinInternal::Options::snapOnlyWhenOverlapping, KWinInternal::Client::width(), and KWinInternal::Options::windowSnapZone.

void KWinInternal::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 378 of file activation.cpp.

References activateNextClient(), KWinInternal::Client::isOnCurrentDesktop(), and KWinInternal::Client::isShown().

Referenced by KWinInternal::Client::destroyClient(), and KWinInternal::Client::releaseWindow().

int KWinInternal::Workspace::currentDesktop  )  const [inline, virtual]
 

Returns the current virtual desktop of this workspace.

Implements KWinInterface.

Definition at line 667 of file workspace.h.

Referenced by activateClient(), activateNextClient(), adjustClientPosition(), adjustClientSize(), cascadeDesktop(), circulateDesktopApplications(), clientArea(), clientMoved(), KWinInternal::Bridge::currentDesktop(), KWinInternal::TabBox::drawContents(), KWinInternal::TabBox::handleMouseEvent(), KWinInternal::Client::manage(), nextDesktop(), KWinInternal::Placement::placeCascaded(), KWinInternal::Placement::placeSmart(), previousDesktop(), raiseOrLowerClient(), KWinInternal::TabBox::reset(), sendClientToDesktop(), setCurrentDesktop(), setNumberOfDesktops(), slotSetupWindowShortcut(), slotSwitchDesktopDown(), slotWindowMaximizeVertical(), slotWindowShade(), slotWindowToDesktop(), storeSession(), unclutterDesktop(), and updateCurrentTopMenu().

int KWinInternal::Workspace::numberOfDesktops  )  const [inline]
 

Returns the number of virtual desktops of this workspace.

Definition at line 672 of file workspace.h.

Referenced by KWinInternal::TabBox::handleMouseEvent(), nextDesktop(), KWinInternal::TabBox::nextPrev(), KWinInternal::Placement::Placement(), previousDesktop(), previousDesktopFocusChain(), KWinInternal::TabBox::reset(), setNumberOfDesktops(), and slotSwitchDesktopDown().

void KWinInternal::Workspace::setNumberOfDesktops int  n  ) 
 

Sets the number of virtual desktops to n

Definition at line 1342 of file workspace.cpp.

References currentDesktop(), numberOfDesktops(), sendClientToDesktop(), setCurrentDesktop(), and updateClientArea().

Referenced by KWinInternal::RootInfo::changeNumberOfDesktops().

QWidget * KWinInternal::Workspace::desktopWidget  ) 
 

Returns the workspace's desktop widget. The desktop widget is sometimes required by clients to draw on it, for example outlines on moving or resizing.

Definition at line 1868 of file workspace.cpp.

Referenced by KWinInternal::Bridge::workspaceWidget().

Client * KWinInternal::Workspace::nextFocusChainClient Client c  )  const
 

auxiliary functions to travers all clients according the focus order. Useful for kwms Alt-tab feature.

Definition at line 1108 of file tabbox.cpp.

Referenced by KWinInternal::TabBox::nextPrev().

Client * KWinInternal::Workspace::previousFocusChainClient Client c  )  const
 

auxiliary functions to travers all clients according the focus order. Useful for kwms Alt-tab feature.

Definition at line 1125 of file tabbox.cpp.

Referenced by KWinInternal::TabBox::nextPrev().

Client * KWinInternal::Workspace::nextStaticClient Client c  )  const
 

auxiliary functions to travers all clients according the static order. Useful for the CDE-style Alt-tab feature.

Definition at line 1142 of file tabbox.cpp.

Client * KWinInternal::Workspace::previousStaticClient Client c  )  const
 

auxiliary functions to travers all clients according the static order. Useful for the CDE-style Alt-tab feature.

Definition at line 1158 of file tabbox.cpp.

const ClientList & KWinInternal::Workspace::stackingOrder  )  const [inline]
 

Returns the list of clients sorted in stacking order, with topmost client at the last position.

Definition at line 687 of file workspace.h.

Referenced by cascadeDesktop(), KWinInternal::Placement::placeSmart(), setOpacity(), setShadowSize(), setUnshadowed(), and KWinInternal::Bridge::unobscuredRegion().

Client * KWinInternal::Workspace::topClientOnDesktop int  desktop,
bool  unconstrained = false
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 204 of file layers.cpp.

Referenced by KWinInternal::Client::belongsToLayer(), and raiseOrLowerClient().

void KWinInternal::Workspace::sendClientToDesktop Client c,
int  desk,
bool  dont_activate
 

Sends client c to desktop desk.

Takes care of transients as well.

Definition at line 1397 of file workspace.cpp.

References currentDesktop(), KWinInternal::Client::desktop(), ensureStackingOrder(), KWinInternal::Options::focusPolicyIsReasonable(), KWinInternal::Client::isOnAllDesktops(), KWinInternal::Client::isOnDesktop(), KWinInternal::options, raiseClient(), requestFocus(), restackClientUnderActive(), KWinInternal::Client::setDesktop(), KWinInternal::Client::transients(), updateClientArea(), and KWinInternal::Client::wantsTabFocus().

Referenced by KWinInternal::WinInfo::changeDesktop(), and setNumberOfDesktops().

void KWinInternal::Workspace::showWindowMenu const QRect &  pos,
Client cl
 

Shows the menu operations menu for the client and makes it active if it's not already.

Definition at line 1063 of file useractions.cpp.

Referenced by showWindowMenu(), KWinInternal::Bridge::showWindowMenu(), and slotWindowFullScreen().

void KWinInternal::Workspace::showWindowMenu int  x,
int  y,
Client cl
[inline]
 

Backwards compatibility.

Definition at line 698 of file workspace.h.

References showWindowMenu().

void KWinInternal::Workspace::updateOnAllDesktopsOfTransients Client c  ) 
 

Sets the client c's transient windows' on_all_desktops property to on_all_desktops.

Definition at line 220 of file group.cpp.

References KWinInternal::Client::isOnAllDesktops(), and KWinInternal::Client::transients().

Referenced by KWinInternal::Client::manage(), and KWinInternal::Client::setDesktop().

void KWinInternal::Workspace::storeSession KConfig *  config,
SMSavePhase  phase
 

Stores the current session in the config file

See also:
loadSessionInfo()

Definition at line 70 of file sm.cpp.

References KWinInternal::Client::calculateGravitation(), KWinInternal::Client::clientSize(), currentDesktop(), KWinInternal::Client::desktop(), KWinInternal::Client::fullScreenMode(), KWinInternal::Client::geometryFSRestore(), KWinInternal::Client::geometryRestore(), KWinInternal::Client::isActive(), KWinInternal::Client::isMinimized(), KWinInternal::Client::isOnAllDesktops(), KWinInternal::Client::isShade(), KWinInternal::Client::isUserNoBorder(), KWinInternal::Client::keepAbove(), KWinInternal::Client::keepBelow(), KWinInternal::Client::maximizeMode(), KWinInternal::Client::resourceClass(), KWinInternal::Client::resourceName(), KWinInternal::Client::sessionId(), KWinInternal::Client::shortcut(), KWinInternal::Client::skipPager(), KWinInternal::Client::skipTaskbar(), KWinInternal::Client::windowRole(), KWinInternal::Client::windowType(), KWinInternal::Client::wmClientMachine(), and KWinInternal::Client::wmCommand().

Referenced by KWinInternal::SessionManaged::saveState().

SessionInfo * KWinInternal::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.

Definition at line 195 of file sm.cpp.

References KWinInternal::SessionInfo::resourceClass, KWinInternal::Client::resourceClass(), KWinInternal::SessionInfo::resourceName, KWinInternal::Client::resourceName(), KWinInternal::SessionInfo::sessionId, KWinInternal::Client::sessionId(), KWinInternal::SessionInfo::windowRole, KWinInternal::Client::windowRole(), KWinInternal::SessionInfo::wmClientMachine, KWinInternal::Client::wmClientMachine(), KWinInternal::SessionInfo::wmCommand, and KWinInternal::Client::wmCommand().

Referenced by KWinInternal::Client::manage().

void KWinInternal::Workspace::cascadeDesktop  )  [virtual]
 

Cascades all clients on the current desktop

Implements KWinInterface.

Definition at line 593 of file geometry.cpp.

References currentDesktop(), KWinInternal::Placement::placeCascaded(), and stackingOrder().

void KWinInternal::Workspace::unclutterDesktop  )  [virtual]
 

Unclutters the current desktop by smart-placing all clients again.

Implements KWinInterface.

Definition at line 617 of file geometry.cpp.

References currentDesktop(), and KWinInternal::Placement::placeSmart().

void KWinInternal::Workspace::doNotManage QString  title  )  [virtual]
 

avoids managing a window with title title

Implements KWinInterface.

Definition at line 968 of file workspace.cpp.

bool KWinInternal::Workspace::setCurrentDesktop int  new_desktop  )  [virtual]
 

Sets the current desktop to new_desktop

Shows/Hides windows according to the stacking order and finally propages the new desktop to the world

Implements KWinInterface.

Definition at line 1077 of file workspace.cpp.

References currentDesktop(), findDesktop(), KWinInternal::Options::focusPolicyIsReasonable(), focusToNull(), KWinInternal::Client::isOnCurrentDesktop(), KWinInternal::Client::isOnDesktop(), KWinInternal::Client::isShown(), KWinInternal::options, KWinInternal::Notify::raise(), requestFocus(), setActiveClient(), KWinInternal::Client::setDesktop(), and updateCurrentTopMenu().

Referenced by activateClient(), KWinInternal::RootInfo::changeCurrentDesktop(), KWinInternal::Client::manage(), nextDesktop(), previousDesktop(), setNumberOfDesktops(), slotSwitchDesktopLeft(), slotWindowMaximizeVertical(), slotWindowShade(), and slotWindowToDesktop().

bool KWinInternal::Workspace::isNotManaged const QString &  title  ) 
 

Hack for java applets

Definition at line 976 of file workspace.cpp.

void KWinInternal::Workspace::setActiveClient Client c,
allowed_t 
 

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 214 of file activation.cpp.

References KWinInternal::Client::demandAttention(), KWinInternal::Client::isActive(), KWinInternal::Client::isModal(), KWinInternal::Client::setActive(), KWinInternal::Client::transientFor(), updateColormap(), updateCurrentTopMenu(), and KWinInternal::Client::window().

Referenced by activateClient(), activateNextClient(), KWinInternal::Client::setActive(), and setCurrentDesktop().

void KWinInternal::Workspace::focusToNull  ) 
 

Puts the focus on a dummy window Just using XSetInputFocus() with None would block keyboard input

Definition at line 2279 of file workspace.cpp.

Referenced by activateNextClient(), setCurrentDesktop(), KWinInternal::Client::setShade(), takeActivity(), and workspaceEvent().

void KWinInternal::Workspace::refresh  )  [virtual, slot]
 

Refreshes all the client windows

Implements KWinInterface.

Definition at line 993 of file workspace.cpp.

void KWinInternal::Workspace::slotWindowMaximize  )  [slot]
 

Maximizes the popup client

Definition at line 804 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowMaximizeVertical  )  [slot]
 

Maximizes the popup client vertically

Definition at line 814 of file useractions.cpp.

References currentDesktop(), desktopName(), setClientIsMoving(), setCurrentDesktop(), and KWinInternal::PopupInfo::showInfo().

void KWinInternal::Workspace::slotWindowMaximizeHorizontal  )  [slot]
 

Maximizes the popup client horiozontally

Definition at line 824 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowMinimize  )  [slot]
 

Minimizes the popup client

Definition at line 835 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowShade  )  [slot]
 

Shades/unshades the popup client respectively

Definition at line 844 of file useractions.cpp.

References currentDesktop(), desktopName(), setClientIsMoving(), setCurrentDesktop(), and KWinInternal::PopupInfo::showInfo().

void KWinInternal::Workspace::slotWindowRaise  )  [slot]
 

Raises the popup client

Definition at line 853 of file useractions.cpp.

References KWinInternal::KillWindow::start().

void KWinInternal::Workspace::slotWindowLower  )  [slot]
 

Lowers the popup client

Definition at line 863 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowRaiseOrLower  )  [slot]
 

Does a toggle-raise-and-lower on the popup client;

Definition at line 873 of file useractions.cpp.

References KWinInternal::Client::isOnAllDesktops(), and KWinInternal::Client::setOnAllDesktops().

void KWinInternal::Workspace::slotWindowPackLeft  )  [slot]
 

Moves active window left until in bumps into another window or workarea edge.

Definition at line 533 of file placement.cpp.

References KWinInternal::Client::geometry(), KWinInternal::Client::isMovable(), KWinInternal::Client::move(), packPositionLeft(), and KWinInternal::Client::y().

void KWinInternal::Workspace::slotWindowOperations  )  [slot]
 

Shows the window operations popup menu for the activeClient()

Definition at line 1055 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowClose  )  [slot]
 

Closes the popup client

Definition at line 1100 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowMove  )  [slot]
 

Starts keyboard move mode for the popup client

Definition at line 1111 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowResize  )  [slot]
 

Starts keyboard resize mode for the popup client

Definition at line 1120 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowToNextDesktop  )  [slot]
 

Move window to next desktop

Definition at line 924 of file useractions.cpp.

void KWinInternal::Workspace::slotWindowToPreviousDesktop  )  [slot]
 

Move window to previous desktop

Definition at line 943 of file useractions.cpp.

void KWinInternal::Workspace::slotMouseEmulation  )  [slot]
 

Invokes keyboard mouse emulation

Definition at line 1638 of file workspace.cpp.

void KWinInternal::Workspace::slotKillWindow  )  [slot]
 

Kill Window feature, similar to xkill

Definition at line 1027 of file useractions.cpp.

Referenced by killWindow().

void KWinInternal::Workspace::slotGrabWindow  )  [slot]
 

Takes a screenshot of the current window and puts it in the clipboard.

Definition at line 1573 of file workspace.cpp.

References KWinInternal::Shape::available(), KWinInternal::Client::frameId(), and slotGrabDesktop().

void KWinInternal::Workspace::slotGrabDesktop  )  [slot]
 

Takes a screenshot of the whole desktop and puts it in the clipboard.

Definition at line 1627 of file workspace.cpp.

Referenced by slotGrabWindow().

bool KWinInternal::Workspace::keyPressMouseEmulation XKeyEvent &  ev  )  [protected]
 

Handles keypress event during mouse emulation

Definition at line 1770 of file workspace.cpp.

Referenced by workspaceEvent().

bool KWinInternal::Workspace::netCheck XEvent *  e  )  [protected]
 

Handles client messages sent to the workspace

Definition at line 493 of file events.cpp.

Referenced by workspaceEvent().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kwin Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 19:06:52 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003