KWin
Loading...
Searching...
No Matches
Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Friends | List of all members
KWin::Workspace Class Reference

#include <workspace.h>

Inheritance diagram for KWin::Workspace:

Public Types

enum  ActivityFlag { ActivityFocus = 1 << 0 , ActivityFocusForce = 1 << 1 | ActivityFocus , ActivityRaise = 1 << 2 }
 
enum  Direction {
  DirectionNorth , DirectionEast , DirectionSouth , DirectionWest ,
  DirectionPrev , DirectionNext
}
 

Public Slots

void performWindowOperation (KWin::Window *window, Options::WindowOperation op)
 
void slotWindowToDesktop (VirtualDesktop *desktop)
 
void slotSwitchToScreen (Output *output)
 
void slotWindowToScreen (Output *output)
 
void slotSwitchToLeftScreen ()
 
void slotSwitchToRightScreen ()
 
void slotSwitchToAboveScreen ()
 
void slotSwitchToBelowScreen ()
 
void slotSwitchToPrevScreen ()
 
void slotSwitchToNextScreen ()
 
void slotWindowToLeftScreen ()
 
void slotWindowToRightScreen ()
 
void slotWindowToAboveScreen ()
 
void slotWindowToBelowScreen ()
 
void slotWindowToNextScreen ()
 
void slotWindowToPrevScreen ()
 
void slotToggleShowDesktop ()
 
void slotWindowMaximize ()
 
void slotWindowMaximizeVertical ()
 
void slotWindowMaximizeHorizontal ()
 
void slotWindowMinimize ()
 
void slotWindowShade ()
 
void slotWindowRaise ()
 
void slotWindowLower ()
 
void slotWindowRaiseOrLower ()
 
void slotActivateAttentionWindow ()
 
void slotWindowCenter ()
 
void slotWindowMoveLeft ()
 
void slotWindowMoveRight ()
 
void slotWindowMoveUp ()
 
void slotWindowMoveDown ()
 
void slotWindowExpandHorizontal ()
 
void slotWindowExpandVertical ()
 
void slotWindowShrinkHorizontal ()
 
void slotWindowShrinkVertical ()
 
void slotIncreaseWindowOpacity ()
 
void slotLowerWindowOpacity ()
 
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 reconfigure ()
 
void slotReconfigure ()
 
void slotKillWindow ()
 
void slotSetupWindowShortcut ()
 
void setupWindowShortcutDone (bool)
 
void updateClientArea ()
 

Signals

void workspaceInitialized ()
 
void geometryChanged ()
 
void currentActivityChanged ()
 
void currentDesktopChanged (KWin::VirtualDesktop *previousDesktop, KWin::Window *)
 
void currentDesktopChanging (KWin::VirtualDesktop *currentDesktop, QPointF delta, KWin::Window *)
 
void currentDesktopChangingCancelled ()
 
void windowAdded (KWin::Window *)
 
void windowRemoved (KWin::Window *)
 
void windowActivated (KWin::Window *)
 
void windowMinimizedChanged (KWin::Window *)
 
void groupAdded (KWin::Group *)
 
void deletedRemoved (KWin::Window *)
 
void configChanged ()
 
void showingDesktopChanged (bool showing, bool animated)
 
void outputOrderChanged ()
 
void outputAdded (KWin::Output *)
 
void outputRemoved (KWin::Output *)
 
void outputsChanged ()
 
void stackingOrderChanged ()
 

Public Member Functions

 Workspace ()
 
 ~Workspace () override
 
bool workspaceEvent (xcb_generic_event_t *)
 
bool hasWindow (const Window *)
 
X11WindowfindClient (std::function< bool(const X11Window *)> func) const
 Finds the first Client matching the condition expressed by passed in func.
 
X11WindowfindClient (Predicate predicate, xcb_window_t w) const
 Finds the Client matching the given match predicate for the given window.
 
void forEachClient (std::function< void(X11Window *)> func)
 
X11WindowfindUnmanaged (std::function< bool(const X11Window *)> func) const
 
X11WindowfindUnmanaged (xcb_window_t w) const
 Finds the Unmanaged with the given window id.
 
WindowfindWindow (const QUuid &internalId) const
 
WindowfindWindow (std::function< bool(const Window *)> func) const
 
void forEachWindow (std::function< void(Window *)> func)
 
WindowfindInternal (QWindow *w) const
 Finds a Window for the internal window w.
 
QRectF clientArea (clientAreaOption, const Output *output, const VirtualDesktop *desktop) const
 
QRectF clientArea (clientAreaOption, const Window *window) const
 
QRectF clientArea (clientAreaOption, const Window *window, const Output *output) const
 
QRectF clientArea (clientAreaOption, const Window *window, const QPointF &pos) const
 
QRect geometry () const
 
StrutRects restrictedMoveArea (const VirtualDesktop *desktop, StrutAreas areas=StrutAreaAll) const
 
bool initializing () const
 
OutputxineramaIndexToOutput (int index) const
 
void setOutputOrder (const QList< Output * > &order)
 
QList< Output * > outputOrder () const
 
OutputactiveOutput () const
 
void setActiveOutput (Output *output)
 
void setActiveOutput (const QPointF &pos)
 
void setActiveCursorOutput (Output *output)
 
void setActiveCursorOutput (const QPointF &pos)
 
WindowactiveWindow () const
 
WindowmostRecentlyActivatedWindow () const
 
WindowwindowUnderMouse (Output *output) const
 
void activateWindow (Window *window, bool force=false)
 
bool requestFocus (Window *window, bool force=false)
 
bool takeActivity (Window *window, ActivityFlags flags)
 
bool restoreFocus ()
 
void gotFocusIn (const Window *window)
 
void setShouldGetFocus (Window *window)
 
bool activateNextWindow (Window *window)
 
bool focusChangeEnabled ()
 
void setMoveResizeWindow (Window *window)
 
QRectF adjustClientArea (Window *window, const QRectF &area) const
 
QPointF adjustWindowPosition (Window *window, QPointF pos, bool unrestricted, double snapAdjust=1.0)
 
QRectF adjustWindowSize (Window *window, QRectF moveResizeGeom, Gravity gravity)
 
void raiseWindow (Window *window, bool nogroup=false)
 
void lowerWindow (Window *window, bool nogroup=false)
 
void raiseWindowRequest (Window *window, NET::RequestSource src=NET::FromApplication, xcb_timestamp_t timestamp=0)
 
void lowerWindowRequest (X11Window *window, NET::RequestSource src, xcb_timestamp_t timestamp)
 
void lowerWindowRequest (Window *window)
 
void restackWindowUnderActive (Window *window)
 
void restack (Window *window, Window *under, bool force=false)
 
void raiseOrLowerWindow (Window *window)
 
void resetUpdateToolWindowsTimer ()
 
void restoreSessionStackingOrder (X11Window *window)
 
void updateStackingOrder (bool propagate_new_windows=false)
 
void forceRestacking ()
 
void constrain (Window *below, Window *above)
 
void unconstrain (Window *below, Window *above)
 
void windowHidden (Window *)
 
void windowAttentionChanged (Window *, bool set)
 
const QList< Window * > windows () const
 
void stackScreenEdgesUnderOverrideRedirect ()
 
SessionManagersessionManager () const
 
TileManagertileManager (Output *output)
 
QPoint cascadeOffset (const Window *c) const
 
bool inUpdateClientArea () const
 
StrutRects previousRestrictedMoveArea (const VirtualDesktop *desktop, StrutAreas areas=StrutAreaAll) const
 
QHash< const Output *, QRect > previousScreenSizes () const
 
const QList< Window * > & stackingOrder () const
 
QList< Window * > unconstrainedStackingOrder () const
 
QList< X11Window * > ensureStackingOrder (const QList< X11Window * > &windows) const
 
QList< Window * > ensureStackingOrder (const QList< Window * > &windows) const
 
WindowtopWindowOnDesktop (VirtualDesktop *desktop, Output *output=nullptr, bool unconstrained=false, bool only_normal=true) const
 
WindowfindDesktop (bool topmost, VirtualDesktop *desktop) const
 
void sendWindowToDesktops (Window *window, const QList< VirtualDesktop * > &desktops, bool dont_activate)
 
void windowToPreviousDesktop (Window *window)
 
void windowToNextDesktop (Window *window)
 
void sendWindowToOutput (Window *window, Output *output)
 
void addManualOverlay (xcb_window_t id)
 
void removeManualOverlay (xcb_window_t id)
 
void showWindowMenu (const QRect &pos, Window *cl)
 
UserActionsMenuuserActionsMenu () const
 
void showApplicationMenu (const QRect &pos, Window *window, int actionId)
 
void updateMinimizedOfTransients (Window *)
 
void updateOnAllDesktopsOfTransients (Window *)
 
void checkTransients (xcb_window_t w)
 
SessionInfotakeSessionInfo (X11Window *)
 
QString supportInformation () const
 
OutputfindOutput (Output *reference, Direction direction, bool wrapAround=false) const
 
void switchToOutput (Output *output)
 
QList< Output * > outputs () const
 
OutputoutputAt (const QPointF &pos) const
 
void setShowingDesktop (bool showing, bool animated=true)
 
bool showingDesktop () const
 
void removeX11Window (X11Window *)
 
void setActiveWindow (Window *window)
 
GroupfindGroup (xcb_window_t leader) const
 
void addGroup (Group *group)
 
void removeGroup (Group *group)
 
GroupfindClientLeaderGroup (const X11Window *c) const
 
int unconstainedStackingOrderIndex (const X11Window *c) const
 
void removeUnmanaged (X11Window *)
 
void removeDeleted (Window *)
 
void addDeleted (Window *)
 
bool checkStartupNotification (xcb_window_t w, KStartupInfoId &id, KStartupInfoData &data)
 
void focusToNull ()
 
void windowShortcutUpdated (Window *window)
 
bool shortcutAvailable (const QKeySequence &cut, Window *ignore=nullptr) const
 
bool globalShortcutsDisabled () const
 
void disableGlobalShortcutsForClient (bool disable)
 
void setWasUserInteraction ()
 
bool wasUserInteraction () const
 
qreal packPositionLeft (const Window *window, qreal oldX, bool leftEdge) const
 
qreal packPositionRight (const Window *window, qreal oldX, bool rightEdge) const
 
qreal packPositionUp (const Window *window, qreal oldY, bool topEdge) const
 
qreal packPositionDown (const Window *window, qreal oldY, bool bottomEdge) const
 
void cancelDelayFocus ()
 
void requestDelayFocus (Window *)
 
void updateFocusMousePosition (const QPointF &pos)
 
QPointF focusMousePosition () const
 
WindowmoveResizeWindow ()
 
void quickTileWindow (QuickTileMode mode)
 
void switchWindow (Direction direction)
 
ShortcutDialogshortcutDialog () const
 
void addInternalWindow (InternalWindow *window)
 
void removeInternalWindow (InternalWindow *window)
 
void setInitialDesktop (int desktop)
 
bool inShouldGetFocus (Window *w) const
 
WindowlastActiveWindow () const
 
FocusChainfocusChain () const
 
ApplicationMenuapplicationMenu () const
 
Decoration::DecorationBridgedecorationBridge () const
 
Outlineoutline () const
 
Placementplacement () const
 
RuleBookrulebook () const
 
ScreenEdgesscreenEdges () const
 
bool applyOutputConfiguration (const OutputConfiguration &config, const QList< Output * > &outputOrder={})
 

Static Public Member Functions

static Workspaceself ()
 

Friends

class StackingUpdatesBlocker
 
bool performTransiencyCheck ()
 
Workspaceworkspace ()
 

Detailed Description

Definition at line 84 of file workspace.h.

Member Enumeration Documentation

◆ ActivityFlag

Enumerator
ActivityFocus 
ActivityFocusForce 
ActivityRaise 

Definition at line 202 of file workspace.h.

◆ Direction

Enumerator
DirectionNorth 
DirectionEast 
DirectionSouth 
DirectionWest 
DirectionPrev 
DirectionNext 

Definition at line 326 of file workspace.h.

Constructor & Destructor Documentation

◆ Workspace()

KWin::Workspace::Workspace ( )
explicit

Definition at line 92 of file workspace.cpp.

◆ ~Workspace()

KWin::Workspace::~Workspace ( )
override

Definition at line 441 of file workspace.cpp.

Member Function Documentation

◆ activateNextWindow()

bool KWin::Workspace::activateNextWindow ( Window * window)

Definition at line 464 of file activation.cpp.

◆ activateWindow()

void KWin::Workspace::activateWindow ( Window * window,
bool force = false )

Tries to activate the window window. This function performs what you expect when clicking the respective entry in a taskbar: showing and raising the window (this may imply switching to the another virtual desktop) and putting the focus onto it. Once X really gave focus to the window window as requested, the window itself will call setActiveWindow() and the operation is complete. This may not happen with certain focus policies, though.

See also
setActiveWindow
requestFocus

Definition at line 282 of file activation.cpp.

◆ activeOutput()

Output * KWin::Workspace::activeOutput ( ) const

Definition at line 2553 of file workspace.cpp.

◆ activeWindow()

Window * KWin::Workspace::activeWindow ( ) const
inline

Returns the active window, i.e. the window that has the focus (or None if no window has the focus)

Definition at line 767 of file workspace.h.

◆ addDeleted()

void KWin::Workspace::addDeleted ( Window * c)

Definition at line 763 of file workspace.cpp.

◆ addGroup()

void KWin::Workspace::addGroup ( Group * group)
inline

Definition at line 777 of file workspace.h.

◆ addInternalWindow()

void KWin::Workspace::addInternalWindow ( InternalWindow * window)

Definition at line 2022 of file workspace.cpp.

◆ addManualOverlay()

void KWin::Workspace::addManualOverlay ( xcb_window_t id)
inline

Definition at line 296 of file workspace.h.

◆ adjustClientArea()

QRectF KWin::Workspace::adjustClientArea ( Window * window,
const QRectF & area ) const

Definition at line 2245 of file workspace.cpp.

◆ adjustWindowPosition()

QPointF KWin::Workspace::adjustWindowPosition ( Window * window,
QPointF pos,
bool unrestricted,
double snapAdjust = 1.0 )

window is moved around to position pos. This gives the workspace the opportunity to interveniate and to implement snap-to-windows functionality.

The parameter snapAdjust is a multiplier used to calculate the effective snap zones. When 1.0, it means that the snap zones will be used without change.

Definition at line 2599 of file workspace.cpp.

◆ adjustWindowSize()

QRectF KWin::Workspace::adjustWindowSize ( Window * window,
QRectF moveResizeGeom,
Gravity gravity )

Definition at line 2766 of file workspace.cpp.

◆ applicationMenu()

ApplicationMenu * KWin::Workspace::applicationMenu ( ) const

Definition at line 3038 of file workspace.cpp.

◆ applyOutputConfiguration()

bool KWin::Workspace::applyOutputConfiguration ( const OutputConfiguration & config,
const QList< Output * > & outputOrder = {} )

Apply the requested output configuration. Note that you must use this function instead of Platform::applyOutputChanges().

Definition at line 478 of file workspace.cpp.

◆ cancelDelayFocus()

void KWin::Workspace::cancelDelayFocus ( )

Definition at line 1538 of file workspace.cpp.

◆ cascadeOffset()

QPoint KWin::Workspace::cascadeOffset ( const Window * c) const

Definition at line 361 of file placement.cpp.

◆ checkStartupNotification()

bool KWin::Workspace::checkStartupNotification ( xcb_window_t w,
KStartupInfoId & id,
KStartupInfoData & data )

Definition at line 1545 of file workspace.cpp.

◆ checkTransients()

void KWin::Workspace::checkTransients ( xcb_window_t w)

Definition at line 2146 of file workspace.cpp.

◆ clientArea() [1/4]

QRectF KWin::Workspace::clientArea ( clientAreaOption opt,
const Output * output,
const VirtualDesktop * desktop ) const

Returns the area available for windows. This is the desktop geometry minus windows on the dock. Placement algorithms should refer to this rather than Screens::geometry.

Definition at line 2411 of file workspace.cpp.

◆ clientArea() [2/4]

QRectF KWin::Workspace::clientArea ( clientAreaOption opt,
const Window * window ) const

Definition at line 2436 of file workspace.cpp.

◆ clientArea() [3/4]

QRectF KWin::Workspace::clientArea ( clientAreaOption opt,
const Window * window,
const Output * output ) const

Definition at line 2441 of file workspace.cpp.

◆ clientArea() [4/4]

QRectF KWin::Workspace::clientArea ( clientAreaOption opt,
const Window * window,
const QPointF & pos ) const

Definition at line 2452 of file workspace.cpp.

◆ configChanged

void KWin::Workspace::configChanged ( )
signal

◆ constrain()

void KWin::Workspace::constrain ( Window * below,
Window * above )

Definition at line 561 of file workspace.cpp.

◆ currentActivityChanged

void KWin::Workspace::currentActivityChanged ( )
signal

◆ currentDesktopChanged

void KWin::Workspace::currentDesktopChanged ( KWin::VirtualDesktop * previousDesktop,
KWin::Window *  )
signal

◆ currentDesktopChanging

void KWin::Workspace::currentDesktopChanging ( KWin::VirtualDesktop * currentDesktop,
QPointF delta,
KWin::Window *  )
signal

◆ currentDesktopChangingCancelled

void KWin::Workspace::currentDesktopChangingCancelled ( )
signal

◆ decorationBridge()

Decoration::DecorationBridge * KWin::Workspace::decorationBridge ( ) const

Definition at line 3043 of file workspace.cpp.

◆ deletedRemoved

void KWin::Workspace::deletedRemoved ( KWin::Window * )
signal

◆ disableGlobalShortcutsForClient()

void KWin::Workspace::disableGlobalShortcutsForClient ( bool disable)

Definition at line 1601 of file workspace.cpp.

◆ ensureStackingOrder() [1/2]

QList< Window * > KWin::Workspace::ensureStackingOrder ( const QList< Window * > & windows) const

Definition at line 644 of file layers.cpp.

◆ ensureStackingOrder() [2/2]

QList< X11Window * > KWin::Workspace::ensureStackingOrder ( const QList< X11Window * > & windows) const

Definition at line 639 of file layers.cpp.

◆ findClient() [1/2]

X11Window * KWin::Workspace::findClient ( Predicate predicate,
xcb_window_t w ) const

Finds the Client matching the given match predicate for the given window.

Parameters
predicateWhich window should be compared
wThe window id to test against
Returns
KWin::X11Window *The found Client or null
See also
findClient(std::function<bool (const X11Window *)>)

Definition at line 1934 of file workspace.cpp.

◆ findClient() [2/2]

X11Window * KWin::Workspace::findClient ( std::function< bool(const X11Window *)> func) const

Finds the first Client matching the condition expressed by passed in func.

Internally findClient uses the std::find_if algorithm and that determines how the function needs to be implemented. An example usage for finding a Client with a matching windowId

xcb_window_t w; // our test window
X11Window *client = findClient([w](const X11Window *c) -> bool {
return c->window() == w;
});
X11Window * findClient(std::function< bool(const X11Window *)> func) const
Finds the first Client matching the condition expressed by passed in func.
xcb_window_t window() const

For the standard cases of matching the window id with one of the Client's windows use the simplified overload method findClient(Predicate, xcb_window_t). Above example can be simplified to:

xcb_window_t w; // our test window
Parameters
funcUnary function that accepts a X11Window *as argument and returns a value convertible to bool. The value returned indicates whether the X11Window *is considered a match in the context of this function. The function shall not modify its argument. This can either be a function pointer or a function object.
Returns
KWin::X11Window *The found Client or null
See also
findClient(Predicate, xcb_window_t)

Definition at line 1905 of file workspace.cpp.

◆ findClientLeaderGroup()

Group * KWin::Workspace::findClientLeaderGroup ( const X11Window * c) const

Definition at line 2066 of file workspace.cpp.

◆ findDesktop()

Window * KWin::Workspace::findDesktop ( bool topmost,
VirtualDesktop * desktop ) const

Definition at line 253 of file layers.cpp.

◆ findGroup()

Group * KWin::Workspace::findGroup ( xcb_window_t leader) const

Definition at line 2053 of file workspace.cpp.

◆ findInternal()

Window * KWin::Workspace::findInternal ( QWindow * w) const

Finds a Window for the internal window w.

Internal window means a window created by KWin itself. On X11 this is an Unmanaged and mapped by the window id, on Wayland a XdgShellClient mapped on the internal window id.

Returns
Window

Definition at line 1982 of file workspace.cpp.

◆ findOutput()

Output * KWin::Workspace::findOutput ( Output * reference,
Direction direction,
bool wrapAround = false ) const

Definition at line 1231 of file workspace.cpp.

◆ findUnmanaged() [1/2]

X11Window * KWin::Workspace::findUnmanaged ( std::function< bool(const X11Window *)> func) const

Definition at line 1916 of file workspace.cpp.

◆ findUnmanaged() [2/2]

X11Window * KWin::Workspace::findUnmanaged ( xcb_window_t w) const

Finds the Unmanaged with the given window id.

Parameters
wThe window id to search for
Returns
KWin::Unmanaged* Found Unmanaged or null if there is no Unmanaged with given Id.

Definition at line 1927 of file workspace.cpp.

◆ findWindow() [1/2]

Window * KWin::Workspace::findWindow ( const QUuid & internalId) const

Definition at line 1962 of file workspace.cpp.

◆ findWindow() [2/2]

Window * KWin::Workspace::findWindow ( std::function< bool(const Window *)> func) const

Definition at line 1957 of file workspace.cpp.

◆ focusChain()

FocusChain * KWin::Workspace::focusChain ( ) const

Definition at line 3033 of file workspace.cpp.

◆ focusChangeEnabled()

bool KWin::Workspace::focusChangeEnabled ( )
inline

Definition at line 213 of file workspace.h.

◆ focusMousePosition()

QPointF KWin::Workspace::focusMousePosition ( ) const
inline

Definition at line 825 of file workspace.h.

◆ focusToNull()

void KWin::Workspace::focusToNull ( )

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

Definition at line 1554 of file workspace.cpp.

◆ forceRestacking()

void KWin::Workspace::forceRestacking ( )
inline

Definition at line 814 of file workspace.h.

◆ forEachClient()

void KWin::Workspace::forEachClient ( std::function< void(X11Window *)> func)

Definition at line 1895 of file workspace.cpp.

◆ forEachWindow()

void KWin::Workspace::forEachWindow ( std::function< void(Window *)> func)

Definition at line 1969 of file workspace.cpp.

◆ geometry()

QRect KWin::Workspace::geometry ( ) const

Returns the geometry of this Workspace, i.e. the bounding rectangle of all outputs.

Definition at line 2457 of file workspace.cpp.

◆ geometryChanged

void KWin::Workspace::geometryChanged ( )
signal

◆ globalShortcutsDisabled()

bool KWin::Workspace::globalShortcutsDisabled ( ) const
inline

Definition at line 809 of file workspace.h.

◆ gotFocusIn()

void KWin::Workspace::gotFocusIn ( const Window * window)

Definition at line 552 of file activation.cpp.

◆ groupAdded

void KWin::Workspace::groupAdded ( KWin::Group * )
signal

◆ hasWindow()

bool KWin::Workspace::hasWindow ( const Window * c)

Definition at line 1974 of file workspace.cpp.

◆ initializing()

bool KWin::Workspace::initializing ( ) const

◆ inShouldGetFocus()

bool KWin::Workspace::inShouldGetFocus ( Window * w) const
inline

Definition at line 418 of file workspace.h.

◆ inUpdateClientArea()

bool KWin::Workspace::inUpdateClientArea ( ) const

Definition at line 2479 of file workspace.cpp.

◆ lastActiveWindow()

Window * KWin::Workspace::lastActiveWindow ( ) const
inline

Definition at line 422 of file workspace.h.

◆ lowerWindow()

void KWin::Workspace::lowerWindow ( Window * window,
bool nogroup = false )

Definition at line 296 of file layers.cpp.

◆ lowerWindowRequest() [1/2]

void KWin::Workspace::lowerWindowRequest ( Window * window)

Definition at line 432 of file layers.cpp.

◆ lowerWindowRequest() [2/2]

void KWin::Workspace::lowerWindowRequest ( X11Window * window,
NET::RequestSource src,
xcb_timestamp_t timestamp )

Definition at line 419 of file layers.cpp.

◆ mostRecentlyActivatedWindow()

Window * KWin::Workspace::mostRecentlyActivatedWindow ( ) const
inline

Window that was activated, but it's not yet really activeWindow(), because we didn't process yet the matching FocusIn event. Used mostly in focus stealing prevention code.

Definition at line 772 of file workspace.h.

◆ moveResizeWindow()

Window * KWin::Workspace::moveResizeWindow ( )
inline

Returns a window that is currently being moved or resized by the user.

If none of windows is being moved or resized, null will be returned.

Definition at line 396 of file workspace.h.

◆ outline()

Outline * KWin::Workspace::outline ( ) const

Definition at line 3048 of file workspace.cpp.

◆ outputAdded

void KWin::Workspace::outputAdded ( KWin::Output * )
signal

◆ outputAt()

Output * KWin::Workspace::outputAt ( const QPointF & pos) const

Definition at line 1210 of file workspace.cpp.

◆ outputOrder()

QList< Output * > KWin::Workspace::outputOrder ( ) const

Definition at line 2548 of file workspace.cpp.

◆ outputOrderChanged

void KWin::Workspace::outputOrderChanged ( )
signal

◆ outputRemoved

void KWin::Workspace::outputRemoved ( KWin::Output * )
signal

◆ outputs()

QList< Output * > KWin::Workspace::outputs ( ) const
inline

Definition at line 762 of file workspace.h.

◆ outputsChanged

void KWin::Workspace::outputsChanged ( )
signal

◆ packPositionDown()

qreal KWin::Workspace::packPositionDown ( const Window * window,
qreal oldY,
bool bottomEdge ) const

Definition at line 964 of file placement.cpp.

◆ packPositionLeft()

qreal KWin::Workspace::packPositionLeft ( const Window * window,
qreal oldX,
bool leftEdge ) const

Definition at line 882 of file placement.cpp.

◆ packPositionRight()

qreal KWin::Workspace::packPositionRight ( const Window * window,
qreal oldX,
bool rightEdge ) const

Definition at line 909 of file placement.cpp.

◆ packPositionUp()

qreal KWin::Workspace::packPositionUp ( const Window * window,
qreal oldY,
bool topEdge ) const

Definition at line 937 of file placement.cpp.

◆ performWindowOperation

void KWin::Workspace::performWindowOperation ( KWin::Window * window,
Options::WindowOperation op )
slot

Definition at line 1156 of file useractions.cpp.

◆ placement()

Placement * KWin::Workspace::placement ( ) const

Definition at line 3053 of file workspace.cpp.

◆ previousRestrictedMoveArea()

StrutRects KWin::Workspace::previousRestrictedMoveArea ( const VirtualDesktop * desktop,
StrutAreas areas = StrutAreaAll ) const

Definition at line 2484 of file workspace.cpp.

◆ previousScreenSizes()

QHash< const Output *, QRect > KWin::Workspace::previousScreenSizes ( ) const

Definition at line 2501 of file workspace.cpp.

◆ quickTileWindow()

void KWin::Workspace::quickTileWindow ( QuickTileMode mode)

Definition at line 856 of file placement.cpp.

◆ raiseOrLowerWindow()

void KWin::Workspace::raiseOrLowerWindow ( Window * window)

Definition at line 279 of file layers.cpp.

◆ raiseWindow()

void KWin::Workspace::raiseWindow ( Window * window,
bool nogroup = false )

Definition at line 354 of file layers.cpp.

◆ raiseWindowRequest()

void KWin::Workspace::raiseWindowRequest ( Window * window,
NET::RequestSource src = NET::FromApplication,
xcb_timestamp_t timestamp = 0 )

Definition at line 409 of file layers.cpp.

◆ reconfigure

void KWin::Workspace::reconfigure ( )
slot

Definition at line 965 of file workspace.cpp.

◆ removeDeleted()

void KWin::Workspace::removeDeleted ( Window * c)

Definition at line 769 of file workspace.cpp.

◆ removeGroup()

void KWin::Workspace::removeGroup ( Group * group)
inline

Definition at line 783 of file workspace.h.

◆ removeInternalWindow()

void KWin::Workspace::removeInternalWindow ( InternalWindow * window)

Definition at line 2040 of file workspace.cpp.

◆ removeManualOverlay()

void KWin::Workspace::removeManualOverlay ( xcb_window_t id)
inline

Definition at line 300 of file workspace.h.

◆ removeUnmanaged()

void KWin::Workspace::removeUnmanaged ( X11Window * window)

Definition at line 754 of file workspace.cpp.

◆ removeX11Window()

void KWin::Workspace::removeX11Window ( X11Window * window)

Destroys the window window

Definition at line 744 of file workspace.cpp.

◆ requestDelayFocus()

void KWin::Workspace::requestDelayFocus ( Window * window)

Definition at line 1528 of file workspace.cpp.

◆ requestFocus()

bool KWin::Workspace::requestFocus ( Window * window,
bool force = false )

Tries to activate the window by asking X for the input focus. This function does not perform any show, raise or desktop switching. See Workspace::activateWindow() instead.

See also
activateWindow

Definition at line 355 of file activation.cpp.

◆ resetUpdateToolWindowsTimer()

void KWin::Workspace::resetUpdateToolWindowsTimer ( )

Definition at line 950 of file workspace.cpp.

◆ restack()

void KWin::Workspace::restack ( Window * window,
Window * under,
bool force = false )

Definition at line 437 of file layers.cpp.

◆ restackWindowUnderActive()

void KWin::Workspace::restackWindowUnderActive ( Window * window)

Definition at line 464 of file layers.cpp.

◆ restoreFocus()

bool KWin::Workspace::restoreFocus ( )

Called from X11Window after FocusIn that wasn't initiated by KWin and the window wasn't allowed to activate.

Returns true if the focus has been restored successfully; otherwise returns false.

Definition at line 611 of file activation.cpp.

◆ restoreSessionStackingOrder()

void KWin::Workspace::restoreSessionStackingOrder ( X11Window * window)

Definition at line 473 of file layers.cpp.

◆ restrictedMoveArea()

StrutRects KWin::Workspace::restrictedMoveArea ( const VirtualDesktop * desktop,
StrutAreas areas = StrutAreaAll ) const

Definition at line 2462 of file workspace.cpp.

◆ rulebook()

RuleBook * KWin::Workspace::rulebook ( ) const

Definition at line 3058 of file workspace.cpp.

◆ screenEdges()

ScreenEdges * KWin::Workspace::screenEdges ( ) const

Definition at line 3063 of file workspace.cpp.

◆ self()

static Workspace * KWin::Workspace::self ( )
inlinestatic

Definition at line 91 of file workspace.h.

◆ sendWindowToDesktops()

void KWin::Workspace::sendWindowToDesktops ( Window * window,
const QList< VirtualDesktop * > & desktops,
bool dont_activate )

Sends window window to desktop desk.

Takes care of transients as well.

Definition at line 1485 of file workspace.cpp.

◆ sendWindowToOutput()

void KWin::Workspace::sendWindowToOutput ( Window * window,
Output * output )

Definition at line 1514 of file workspace.cpp.

◆ sessionManager()

SessionManager * KWin::Workspace::sessionManager ( ) const
inline

Definition at line 799 of file workspace.h.

◆ setActiveCursorOutput() [1/2]

void KWin::Workspace::setActiveCursorOutput ( const QPointF & pos)

Definition at line 2585 of file workspace.cpp.

◆ setActiveCursorOutput() [2/2]

void KWin::Workspace::setActiveCursorOutput ( Output * output)

Definition at line 2580 of file workspace.cpp.

◆ setActiveOutput() [1/2]

void KWin::Workspace::setActiveOutput ( const QPointF & pos)

Definition at line 2575 of file workspace.cpp.

◆ setActiveOutput() [2/2]

void KWin::Workspace::setActiveOutput ( Output * output)

Definition at line 2570 of file workspace.cpp.

◆ setActiveWindow()

void KWin::Workspace::setActiveWindow ( Window * window)

Informs the workspace about the active window, i.e. the window that has the focus (or None if no window has the focus). This functions is called by the window itself that gets focus. It has no other effect than fixing the focus chain and the return value of activeWindow(). And of course, to propagate the active window to the world.

Definition at line 216 of file activation.cpp.

◆ setInitialDesktop()

void KWin::Workspace::setInitialDesktop ( int desktop)

Definition at line 2048 of file workspace.cpp.

◆ setMoveResizeWindow()

void KWin::Workspace::setMoveResizeWindow ( Window * window)

Indicates that the given window is being moved or resized by the user.

Marks the window as being moved or resized by the user.

Definition at line 3004 of file workspace.cpp.

◆ setOutputOrder()

void KWin::Workspace::setOutputOrder ( const QList< Output * > & order)

Definition at line 2540 of file workspace.cpp.

◆ setShouldGetFocus()

void KWin::Workspace::setShouldGetFocus ( Window * window)

Definition at line 564 of file activation.cpp.

◆ setShowingDesktop()

void KWin::Workspace::setShowingDesktop ( bool showing,
bool animated = true )

Set "Show Desktop" status

Parameters
showingtrue to show the desktop, false to restore the window positions
animatedtrue if the "Show Desktop Animation" should be played, otherwise false

Definition at line 1567 of file workspace.cpp.

◆ setupWindowShortcutDone

void KWin::Workspace::setupWindowShortcutDone ( bool ok)
slot

Definition at line 1110 of file useractions.cpp.

◆ setWasUserInteraction()

void KWin::Workspace::setWasUserInteraction ( )

Definition at line 2000 of file workspace.cpp.

◆ shortcutAvailable()

bool KWin::Workspace::shortcutAvailable ( const QKeySequence & cut,
Window * ignore = nullptr ) const

Definition at line 1853 of file useractions.cpp.

◆ shortcutDialog()

ShortcutDialog * KWin::Workspace::shortcutDialog ( ) const
inline

Definition at line 404 of file workspace.h.

◆ showApplicationMenu()

void KWin::Workspace::showApplicationMenu ( const QRect & pos,
Window * window,
int actionId )

Definition at line 1730 of file useractions.cpp.

◆ showingDesktop()

bool KWin::Workspace::showingDesktop ( ) const
inline

Definition at line 804 of file workspace.h.

◆ showingDesktopChanged

void KWin::Workspace::showingDesktopChanged ( bool showing,
bool animated )
signal

◆ showWindowMenu()

void KWin::Workspace::showWindowMenu ( const QRect & pos,
Window * cl )

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

Definition at line 1725 of file useractions.cpp.

◆ slotActivateAttentionWindow

void KWin::Workspace::slotActivateAttentionWindow ( )
slot

Definition at line 1256 of file useractions.cpp.

◆ slotIncreaseWindowOpacity

void KWin::Workspace::slotIncreaseWindowOpacity ( )
slot

Definition at line 867 of file useractions.cpp.

◆ slotKillWindow

void KWin::Workspace::slotKillWindow ( )
slot

Kill Window feature, similar to xkill.

Definition at line 1614 of file useractions.cpp.

◆ slotLowerWindowOpacity

void KWin::Workspace::slotLowerWindowOpacity ( )
slot

Definition at line 875 of file useractions.cpp.

◆ slotReconfigure

void KWin::Workspace::slotReconfigure ( )
slot

Reread settings

Definition at line 974 of file workspace.cpp.

◆ slotSetupWindowShortcut

void KWin::Workspace::slotSetupWindowShortcut ( )
slot

Definition at line 1510 of file useractions.cpp.

◆ slotSwitchToAboveScreen

void KWin::Workspace::slotSwitchToAboveScreen ( )
slot

Definition at line 1306 of file useractions.cpp.

◆ slotSwitchToBelowScreen

void KWin::Workspace::slotSwitchToBelowScreen ( )
slot

Definition at line 1313 of file useractions.cpp.

◆ slotSwitchToLeftScreen

void KWin::Workspace::slotSwitchToLeftScreen ( )
slot

Definition at line 1292 of file useractions.cpp.

◆ slotSwitchToNextScreen

void KWin::Workspace::slotSwitchToNextScreen ( )
slot

Definition at line 1327 of file useractions.cpp.

◆ slotSwitchToPrevScreen

void KWin::Workspace::slotSwitchToPrevScreen ( )
slot

Definition at line 1320 of file useractions.cpp.

◆ slotSwitchToRightScreen

void KWin::Workspace::slotSwitchToRightScreen ( )
slot

Definition at line 1299 of file useractions.cpp.

◆ slotSwitchToScreen

void KWin::Workspace::slotSwitchToScreen ( Output * output)
slot

Definition at line 1285 of file useractions.cpp.

◆ slotToggleShowDesktop

void KWin::Workspace::slotToggleShowDesktop ( )
slot

Toggles show desktop.

Definition at line 1520 of file useractions.cpp.

◆ slotWindowAbove

void KWin::Workspace::slotWindowAbove ( )
slot

Definition at line 1497 of file useractions.cpp.

◆ slotWindowBelow

void KWin::Workspace::slotWindowBelow ( )
slot

Definition at line 1504 of file useractions.cpp.

◆ slotWindowCenter

void KWin::Workspace::slotWindowCenter ( )
slot

Moves the active window to the center of the screen.

Definition at line 734 of file placement.cpp.

◆ slotWindowClose

void KWin::Workspace::slotWindowClose ( )
slot

Closes the active window.

Definition at line 1738 of file useractions.cpp.

◆ slotWindowExpandHorizontal

void KWin::Workspace::slotWindowExpandHorizontal ( )
slot

Definition at line 744 of file placement.cpp.

◆ slotWindowExpandVertical

void KWin::Workspace::slotWindowExpandVertical ( )
slot

Definition at line 801 of file placement.cpp.

◆ slotWindowFullScreen

void KWin::Workspace::slotWindowFullScreen ( )
slot

Definition at line 1483 of file useractions.cpp.

◆ slotWindowLower

void KWin::Workspace::slotWindowLower ( )
slot

Lowers the active window.

Definition at line 1446 of file useractions.cpp.

◆ slotWindowMaximize

void KWin::Workspace::slotWindowMaximize ( )
slot

Maximizes the active window.

Definition at line 1386 of file useractions.cpp.

◆ slotWindowMaximizeHorizontal

void KWin::Workspace::slotWindowMaximizeHorizontal ( )
slot

Maximizes the active window horiozontally.

Definition at line 1406 of file useractions.cpp.

◆ slotWindowMaximizeVertical

void KWin::Workspace::slotWindowMaximizeVertical ( )
slot

Maximizes the active window vertically.

Definition at line 1396 of file useractions.cpp.

◆ slotWindowMinimize

void KWin::Workspace::slotWindowMinimize ( )
slot

Minimizes the active window.

Definition at line 1416 of file useractions.cpp.

◆ slotWindowMove

void KWin::Workspace::slotWindowMove ( )
slot

Starts keyboard move mode for the active window.

Definition at line 1751 of file useractions.cpp.

◆ slotWindowMoveDown

void KWin::Workspace::slotWindowMoveDown ( )
slot

Definition at line 724 of file placement.cpp.

◆ slotWindowMoveLeft

void KWin::Workspace::slotWindowMoveLeft ( )
slot

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

Definition at line 697 of file placement.cpp.

◆ slotWindowMoveRight

void KWin::Workspace::slotWindowMoveRight ( )
slot

Definition at line 706 of file placement.cpp.

◆ slotWindowMoveUp

void KWin::Workspace::slotWindowMoveUp ( )
slot

Definition at line 715 of file placement.cpp.

◆ slotWindowNoBorder

void KWin::Workspace::slotWindowNoBorder ( )
slot

Definition at line 1490 of file useractions.cpp.

◆ slotWindowOnAllDesktops

void KWin::Workspace::slotWindowOnAllDesktops ( )
slot

Definition at line 1476 of file useractions.cpp.

◆ slotWindowOperations

void KWin::Workspace::slotWindowOperations ( )
slot

Shows the window operations popup menu for the active window.

Definition at line 1715 of file useractions.cpp.

◆ slotWindowRaise

void KWin::Workspace::slotWindowRaise ( )
slot

Raises the active window.

Definition at line 1436 of file useractions.cpp.

◆ slotWindowRaiseOrLower

void KWin::Workspace::slotWindowRaiseOrLower ( )
slot

Does a toggle-raise-and-lower on the active window.

Definition at line 1469 of file useractions.cpp.

◆ slotWindowResize

void KWin::Workspace::slotWindowResize ( )
slot

Starts keyboard resize mode for the active window.

Definition at line 1761 of file useractions.cpp.

◆ slotWindowShade

void KWin::Workspace::slotWindowShade ( )
slot

Shades/unshades the active window respectively.

Definition at line 1426 of file useractions.cpp.

◆ slotWindowShrinkHorizontal

void KWin::Workspace::slotWindowShrinkHorizontal ( )
slot

Definition at line 777 of file placement.cpp.

◆ slotWindowShrinkVertical

void KWin::Workspace::slotWindowShrinkVertical ( )
slot

Definition at line 832 of file placement.cpp.

◆ slotWindowToAboveScreen

void KWin::Workspace::slotWindowToAboveScreen ( )
slot

Definition at line 1355 of file useractions.cpp.

◆ slotWindowToBelowScreen

void KWin::Workspace::slotWindowToBelowScreen ( )
slot

Definition at line 1362 of file useractions.cpp.

◆ slotWindowToDesktop

void KWin::Workspace::slotWindowToDesktop ( VirtualDesktop * desktop)
slot

Definition at line 1265 of file useractions.cpp.

◆ slotWindowToDesktopDown

void KWin::Workspace::slotWindowToDesktopDown ( )
slot

Definition at line 1604 of file useractions.cpp.

◆ slotWindowToDesktopLeft

void KWin::Workspace::slotWindowToDesktopLeft ( )
slot

Definition at line 1590 of file useractions.cpp.

◆ slotWindowToDesktopRight

void KWin::Workspace::slotWindowToDesktopRight ( )
slot

Definition at line 1583 of file useractions.cpp.

◆ slotWindowToDesktopUp

void KWin::Workspace::slotWindowToDesktopUp ( )
slot

Definition at line 1597 of file useractions.cpp.

◆ slotWindowToLeftScreen

void KWin::Workspace::slotWindowToLeftScreen ( )
slot

Definition at line 1341 of file useractions.cpp.

◆ slotWindowToNextDesktop

void KWin::Workspace::slotWindowToNextDesktop ( )
slot

Moves the active window to the next desktop.

Definition at line 1542 of file useractions.cpp.

◆ slotWindowToNextScreen

void KWin::Workspace::slotWindowToNextScreen ( )
slot

Definition at line 1376 of file useractions.cpp.

◆ slotWindowToPreviousDesktop

void KWin::Workspace::slotWindowToPreviousDesktop ( )
slot

Moves the active window to the previous desktop.

Definition at line 1557 of file useractions.cpp.

◆ slotWindowToPrevScreen

void KWin::Workspace::slotWindowToPrevScreen ( )
slot

Definition at line 1369 of file useractions.cpp.

◆ slotWindowToRightScreen

void KWin::Workspace::slotWindowToRightScreen ( )
slot

Definition at line 1348 of file useractions.cpp.

◆ slotWindowToScreen

void KWin::Workspace::slotWindowToScreen ( Output * output)
slot

Definition at line 1334 of file useractions.cpp.

◆ stackingOrder()

const QList< Window * > & KWin::Workspace::stackingOrder ( ) const
inline

Returns the list of windows sorted in stacking order, with topmost window at the last position

Definition at line 788 of file workspace.h.

◆ stackingOrderChanged

void KWin::Workspace::stackingOrderChanged ( )
signal

This signal is emitted when the stacking order changed, i.e. a window is risen or lowered

◆ stackScreenEdgesUnderOverrideRedirect()

void KWin::Workspace::stackScreenEdgesUnderOverrideRedirect ( )

Some fullscreen effects have to raise the screenedge on top of an input window, thus all windows this function puts them back where they belong for regular use and is some cheap variant of the regular propagateWindows function in that it completely ignores managed windows and everything else and also does not update the NETWM property. Called from Effects::destroyInputWindow so far.

Definition at line 127 of file layers.cpp.

◆ supportInformation()

QString KWin::Workspace::supportInformation ( ) const

Definition at line 1620 of file workspace.cpp.

◆ switchToOutput()

void KWin::Workspace::switchToOutput ( Output * output)

Definition at line 535 of file activation.cpp.

◆ switchWindow()

void KWin::Workspace::switchWindow ( Direction direction)

Switches to the nearest window in given direction.

Definition at line 1625 of file useractions.cpp.

◆ takeActivity()

bool KWin::Workspace::takeActivity ( Window * window,
ActivityFlags flags )

Definition at line 360 of file activation.cpp.

◆ takeSessionInfo()

SessionInfo * KWin::Workspace::takeSessionInfo ( X11Window * )

◆ tileManager()

TileManager * KWin::Workspace::tileManager ( Output * output)
Returns
the TileManager associated to a given output

Definition at line 3068 of file workspace.cpp.

◆ topWindowOnDesktop()

Window * KWin::Workspace::topWindowOnDesktop ( VirtualDesktop * desktop,
Output * output = nullptr,
bool unconstrained = false,
bool only_normal = true ) const

Returns topmost visible window. 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 224 of file layers.cpp.

◆ unconstainedStackingOrderIndex()

int KWin::Workspace::unconstainedStackingOrderIndex ( const X11Window * c) const

◆ unconstrain()

void KWin::Workspace::unconstrain ( Window * below,
Window * above )

Definition at line 598 of file workspace.cpp.

◆ unconstrainedStackingOrder()

QList< Window * > KWin::Workspace::unconstrainedStackingOrder ( ) const

Definition at line 649 of file layers.cpp.

◆ updateClientArea

void KWin::Workspace::updateClientArea ( )
slot

Updates the current client areas according to the current windows.

The client area is the area that is available for windows (that which is not taken by windows like panels, the top-of-screen menu etc).

See also
clientArea()

Definition at line 2308 of file workspace.cpp.

◆ updateFocusMousePosition()

void KWin::Workspace::updateFocusMousePosition ( const QPointF & pos)
inline

updates the mouse position to track whether a focus follow mouse focus change was caused by an actual mouse move is esp. called on enter/motion events of inactive windows since an active window doesn't receive mouse events, it must also be invoked if a (potentially) active window might be moved/resize away from the cursor (causing a leave event)

Definition at line 820 of file workspace.h.

◆ updateMinimizedOfTransients()

void KWin::Workspace::updateMinimizedOfTransients ( Window * window)

Definition at line 2096 of file workspace.cpp.

◆ updateOnAllDesktopsOfTransients()

void KWin::Workspace::updateOnAllDesktopsOfTransients ( Window * window)

Sets the window's transient windows' on_all_desktops property to on_all_desktops.

Definition at line 2136 of file workspace.cpp.

◆ updateStackingOrder()

void KWin::Workspace::updateStackingOrder ( bool propagate_new_windows = false)

Definition at line 93 of file layers.cpp.

◆ userActionsMenu()

UserActionsMenu * KWin::Workspace::userActionsMenu ( ) const
inline

Definition at line 310 of file workspace.h.

◆ wasUserInteraction()

bool KWin::Workspace::wasUserInteraction ( ) const
inline

Definition at line 794 of file workspace.h.

◆ windowActivated

void KWin::Workspace::windowActivated ( KWin::Window * )
signal

◆ windowAdded

void KWin::Workspace::windowAdded ( KWin::Window * )
signal

◆ windowAttentionChanged()

void KWin::Workspace::windowAttentionChanged ( Window * window,
bool set )

Definition at line 626 of file activation.cpp.

◆ windowHidden()

void KWin::Workspace::windowHidden ( Window * window)

Informs the workspace that the window window has been hidden. If it was the active window (or to-become the active window), the workspace activates another one.

Note
c may already be destroyed.

Definition at line 435 of file activation.cpp.

◆ windowMinimizedChanged

void KWin::Workspace::windowMinimizedChanged ( KWin::Window * )
signal

◆ windowRemoved

void KWin::Workspace::windowRemoved ( KWin::Window * )
signal

◆ windows()

const QList< Window * > KWin::Workspace::windows ( ) const
inline
Returns
List of all windows (either X11 or Wayland) currently managed by Workspace

Definition at line 248 of file workspace.h.

◆ windowShortcutUpdated()

void KWin::Workspace::windowShortcutUpdated ( Window * window)

Definition at line 1127 of file useractions.cpp.

◆ windowToNextDesktop()

void KWin::Workspace::windowToNextDesktop ( Window * window)

Definition at line 1549 of file useractions.cpp.

◆ windowToPreviousDesktop()

void KWin::Workspace::windowToPreviousDesktop ( Window * window)

Definition at line 1564 of file useractions.cpp.

◆ windowUnderMouse()

Window * KWin::Workspace::windowUnderMouse ( Output * output) const

Definition at line 441 of file activation.cpp.

◆ workspaceEvent()

bool KWin::Workspace::workspaceEvent ( xcb_generic_event_t * e)

Handles workspace specific XCB event

Definition at line 147 of file events.cpp.

◆ workspaceInitialized

void KWin::Workspace::workspaceInitialized ( )
signal

Emitted after the Workspace has setup the complete initialization process. This can be used to connect to for performing post-workspace initialization.

◆ xineramaIndexToOutput()

Output * KWin::Workspace::xineramaIndexToOutput ( int index) const

Definition at line 2506 of file workspace.cpp.

Friends And Related Symbol Documentation

◆ performTransiencyCheck

bool performTransiencyCheck ( )
friend

◆ StackingUpdatesBlocker

friend class StackingUpdatesBlocker
friend

Definition at line 704 of file workspace.h.

◆ workspace

Workspace * workspace ( )
friend

Definition at line 830 of file workspace.h.


The documentation for this class was generated from the following files: