#include <client.h>
Inherits TQObject, and KDecorationDefines.
Public Types | |
| enum | Sizemode { SizemodeAny , SizemodeFixedW , SizemodeFixedH , SizemodeMax } |
Signals | |
| void | shadowDrawn () |
Public Member Functions | |
| Client (Workspace *ws) | |
| Window | window () const |
| Window | frameId () const |
| Window | wrapperId () const |
| Window | decorationId () const |
| Workspace * | workspace () const |
| const Client * | transientFor () const |
| Client * | transientFor () |
| bool | isTransient () const |
| bool | isModalSystemNotification () const |
| bool | groupTransient () const |
| bool | wasOriginallyGroupTransient () const |
| ClientList | mainClients () const |
| bool | hasTransient (const Client *c, bool indirect) const |
| const ClientList & | transients () const |
| void | checkTransient (Window w) |
| Client * | findModal () |
| const Group * | group () const |
| Group * | group () |
| void | checkGroup (Group *gr=NULL, bool force=false) |
| void | changeClientLeaderGroup (Group *gr) |
| NET::WindowType | windowType (bool direct=false, int supported_types=SUPPORTED_WINDOW_TYPES_MASK) const |
| const WindowRules * | rules () const |
| void | removeRule (Rules *r) |
| void | setupWindowRules (bool ignore_temporary) |
| void | applyWindowRules () |
| void | updateWindowRules () |
| TQRect | geometry () const |
| TQSize | size () const |
| TQSize | minSize () const |
| TQSize | maxSize () const |
| TQPoint | pos () const |
| TQRect | rect () const |
| int | x () const |
| int | y () const |
| int | width () const |
| int | height () const |
| TQPoint | clientPos () const |
| TQSize | clientSize () const |
| bool | windowEvent (XEvent *e) |
| virtual bool | eventFilter (TQObject *o, TQEvent *e) |
| bool | manage (Window w, bool isMapped) |
| void | releaseWindow (bool on_shutdown=false) |
| TQSize | adjustedSize (const TQSize &, Sizemode mode=SizemodeAny) const |
| TQSize | adjustedSize () const |
| TQPixmap | icon () const |
| TQPixmap | miniIcon () const |
| bool | isActive () const |
| void | setActive (bool, bool updateOpacity=true) |
| bool | isSuspendable () const |
| bool | isResumeable () const |
| int | desktop () const |
| void | setDesktop (int) |
| bool | isOnDesktop (int d) const |
| bool | isOnCurrentDesktop () const |
| bool | isOnAllDesktops () const |
| void | setOnAllDesktops (bool set) |
| bool | isOnScreen (int screen) const |
| int | screen () const |
| bool | isShown (bool shaded_is_shown) const |
| bool | isShade () const |
| ShadeMode | shadeMode () const |
| void | setShade (ShadeMode mode) |
| bool | isShadeable () const |
| bool | isMinimized () const |
| bool | isMaximizable () const |
| TQRect | geometryRestore () const |
| MaximizeMode | maximizeModeRestore () const |
| MaximizeMode | maximizeMode () const |
| bool | isMinimizable () const |
| void | setMaximize (bool vertically, bool horizontally) |
| void | setFullScreen (bool set, bool user) |
| bool | isFullScreen () const |
| bool | isFullScreenable (bool fullscreen_hack=false) const |
| bool | userCanSetFullScreen () const |
| TQRect | geometryFSRestore () const |
| int | fullScreenMode () const |
| bool | isUserNoBorder () const |
| void | setUserNoBorder (bool set) |
| void | setUserNoBorder (bool set, bool force) |
| bool | userCanSetNoBorder () const |
| bool | isUserNoBorderForced () const |
| bool | noBorder () const |
| bool | skipTaskbar (bool from_outside=false) const |
| void | setSkipTaskbar (bool set, bool from_outside) |
| bool | skipPager () const |
| void | setSkipPager (bool) |
| bool | keepAbove () const |
| void | setKeepAbove (bool) |
| bool | keepBelow () const |
| void | setKeepBelow (bool) |
| Layer | layer () const |
| Layer | belongsToLayer () const |
| void | invalidateLayer () |
| void | setModal (bool modal) |
| bool | isModal () const |
| bool | wantsTabFocus () const |
| bool | wantsInput () const |
| bool | hasNETSupport () const |
| bool | isMovable () const |
| bool | isDesktop () const |
| bool | isDock () const |
| bool | isToolbar () const |
| bool | isTopMenu () const |
| bool | isMenu () const |
| bool | isNormalWindow () const |
| bool | isDialog () const |
| bool | isSplash () const |
| bool | isUtility () const |
| bool | isSpecialWindow () const |
| bool | isResizable () const |
| bool | isCloseable () const |
| void | takeActivity (int flags, bool handled, allowed_t) |
| void | takeFocus (allowed_t) |
| void | demandAttention (bool set=true) |
| void | setMask (const TQRegion &r, int mode=X::Unsorted) |
| TQRegion | mask () const |
| void | updateDecoration (bool check_workspace_pos, bool force=false) |
| void | checkBorderSizes () |
| bool | isShadowed () const |
| void | setShadowed (bool shadowed) |
| Window | shadowId () const |
| bool | shape () const |
| void | updateShape () |
| void | setGeometry (int x, int y, int w, int h, ForceGeometry_t force=NormalGeometrySet) |
| void | setGeometry (const TQRect &r, ForceGeometry_t force=NormalGeometrySet) |
| void | move (int x, int y, ForceGeometry_t force=NormalGeometrySet) |
| void | move (const TQPoint &p, ForceGeometry_t force=NormalGeometrySet) |
| void | plainResize (int w, int h, ForceGeometry_t force=NormalGeometrySet) |
| void | plainResize (const TQSize &s, ForceGeometry_t force=NormalGeometrySet) |
| void | resizeWithChecks (int w, int h, ForceGeometry_t force=NormalGeometrySet) |
| void | resizeWithChecks (const TQSize &s, ForceGeometry_t force=NormalGeometrySet) |
| void | keepInArea (TQRect area, bool partial=false) |
| void | setActiveBorderMode (ActiveMaximizingMode mode) |
| void | setActiveBorderPos (TQPoint pos) |
| void | setActiveBorder (ActiveBorder border) |
| ActiveMaximizingMode | activeBorderMode () const |
| TQPoint | activeBorderPos () const |
| ActiveBorder | activeBorder () const |
| void | setActiveBorderMaximizing (bool maximizing) |
| void | cancelActiveBorderMaximizing () |
| bool | isActiveBorderMaximizing () const |
| TQRect | activeBorderMaximizeGeometry () |
| void | tileToBorder (ActiveBorder border) |
| void | growHorizontal () |
| void | shrinkHorizontal () |
| void | growVertical () |
| void | shrinkVertical () |
| bool | providesContextHelp () const |
| TDEShortcut | shortcut () const |
| void | setShortcut (const TQString &cut) |
| bool | performMouseCommand (Options::MouseCommand, TQPoint globalPos, bool handled=false) |
| TQCString | windowRole () const |
| TQCString | sessionId () |
| TQCString | resourceName () const |
| TQCString | resourceClass () const |
| TQCString | wmCommand () |
| TQCString | wmClientMachine (bool use_localhost) const |
| Window | wmClientLeader () const |
| pid_t | pid () const |
| TQRect | adjustedClientArea (const TQRect &desktop, const TQRect &area) const |
| Colormap | colormap () const |
| void | updateVisibility () |
| void | hideClient (bool hide) |
| TQString | caption (bool full=true) const |
| void | updateCaption () |
| void | keyPressEvent (uint key_code) |
| void | updateMouseGrab () |
| Window | moveResizeGrabWindow () const |
| const TQPoint | calculateGravitation (bool invert, int gravity=0) const |
| void | NETMoveResize (int x_root, int y_root, NET::Direction direction) |
| void | NETMoveResizeWindow (int flags, int x, int y, int width, int height) |
| void | restackWindow (Window above, int detail, NET::RequestSource source, Time timestamp, bool send_event=false) |
| void | gotPing (Time timestamp) |
| void | checkWorkspacePosition () |
| void | updateUserTime (Time time=CurrentTime) |
| Time | userTime () const |
| bool | hasUserTimeSupport () const |
| bool | ignoreFocusStealing () const |
| void | minimize (bool avoid_animation=false) |
| void | unminimize (bool avoid_animation=false) |
| void | closeWindow () |
| void | killWindow () |
| void | suspendWindow () |
| void | resumeWindow () |
| bool | queryUserSuspendedResume () |
| void | maximize (MaximizeMode) |
| void | toggleShade () |
| void | showContextHelp () |
| void | cancelShadeHover () |
| void | cancelAutoRaise () |
| void | destroyClient () |
| void | checkActiveModal () |
| void | setOpacity (uint opacity) |
| void | setShadowSize (uint shadowSize) |
| uint | defaultOpacity () |
| uint | defaultOpacity (bool active) |
| void | updateOpacity () |
| void | updateShadowSize () |
| bool | hasCustomOpacity () |
| void | setCustomOpacityFlag (bool custom=true) |
| bool | getWindowOpacity () |
| int | opacityPercentage () |
| void | checkAndSetInitialRuledOpacity () |
| uint | ruleOpacityInactive () |
| uint | ruleOpacityActive () |
| unsigned int | opacity () |
| bool | isBMP () |
| void | setBMP (bool b) |
| bool | touches (const Client *c) |
| void | setShapable (bool b) |
| bool | hasStrut () const |
Static Public Member Functions | |
| static TQCString | staticWindowRole (WId) |
| static TQCString | staticSessionId (WId) |
| static TQCString | staticWmCommand (WId) |
| static TQCString | staticWmClientMachine (WId) |
| static Window | staticWmClientLeader (WId) |
| static void | deleteClient (Client *c, allowed_t) |
| static bool | resourceMatch (const Client *c1, const Client *c2) |
| static bool | belongToSameApplication (const Client *c1, const Client *c2, bool active_hack=false) |
| static void | readIcons (Window win, TQPixmap *icon, TQPixmap *miniicon) |
Friends | |
| class | Bridge |
| struct | FetchNameInternalPredicate |
| struct | CheckIgnoreFocusStealingProcedure |
| struct | ResetupRulesProcedure |
| class | GeometryUpdatesPostponer |
| void | Workspace::raiseClient (Client *) |
| void | Workspace::updateOverlappingShadows (WId) |
| bool | performTransiencyCheck () |
Detailed Description
Member Enumeration Documentation
◆ Sizemode
Constructor & Destructor Documentation
◆ Client()
| KWinInternal::Client::Client | ( | Workspace * | ws | ) |
This ctor is "dumb" - it only initializes data. All the real initialization is done in manage().
Definition at line 94 of file client.cpp.
Member Function Documentation
◆ activeBorder()
| ActiveBorder KWinInternal::Client::activeBorder | ( | ) | const |
Definition at line 2734 of file geometry.cpp.
◆ activeBorderMaximizeGeometry()
| TQRect KWinInternal::Client::activeBorderMaximizeGeometry | ( | ) |
Definition at line 2767 of file geometry.cpp.
◆ activeBorderMode()
| ActiveMaximizingMode KWinInternal::Client::activeBorderMode | ( | ) | const |
Definition at line 2715 of file geometry.cpp.
◆ activeBorderPos()
| TQPoint KWinInternal::Client::activeBorderPos | ( | ) | const |
Definition at line 2725 of file geometry.cpp.
◆ adjustedClientArea()
| TQRect KWinInternal::Client::adjustedClientArea | ( | const TQRect & | desktopArea, |
| const TQRect & | area | ||
| ) | const |
Returns area with the client's strut taken into account.
Used from Workspace in updateClientArea.
Definition at line 741 of file geometry.cpp.
◆ adjustedSize() [1/2]
| TQSize KWinInternal::Client::adjustedSize | ( | ) | const |
Definition at line 1085 of file geometry.cpp.
◆ adjustedSize() [2/2]
| TQSize KWinInternal::Client::adjustedSize | ( | const TQSize & | frame, |
| Sizemode | mode = SizemodeAny |
||
| ) | const |
Adjust the frame size frame according to he window's size hints.
Definition at line 1071 of file geometry.cpp.
◆ applyWindowRules()
◆ belongsToLayer()
| Layer KWinInternal::Client::belongsToLayer | ( | ) | const |
Definition at line 806 of file layers.cpp.
◆ belongToSameApplication()
◆ calculateGravitation()
| const TQPoint KWinInternal::Client::calculateGravitation | ( | bool | invert, |
| int | gravity = 0 |
||
| ) | const |
Definition at line 1386 of file geometry.cpp.
◆ cancelActiveBorderMaximizing()
| void KWinInternal::Client::cancelActiveBorderMaximizing | ( | ) |
Definition at line 2757 of file geometry.cpp.
◆ cancelAutoRaise()
| void KWinInternal::Client::cancelAutoRaise | ( | ) |
Definition at line 2791 of file client.cpp.
◆ cancelShadeHover()
| void KWinInternal::Client::cancelShadeHover | ( | ) |
Definition at line 987 of file client.cpp.
◆ caption()
| TQString KWinInternal::Client::caption | ( | bool | full = true | ) | const |
- Reimplemented from superclass.
Definition at line 2371 of file client.cpp.
◆ changeClientLeaderGroup()
| void KWinInternal::Client::changeClientLeaderGroup | ( | Group * | gr | ) |
◆ checkActiveModal()
◆ checkAndSetInitialRuledOpacity()
| void KWinInternal::Client::checkAndSetInitialRuledOpacity | ( | ) |
◆ checkBorderSizes()
| void KWinInternal::Client::checkBorderSizes | ( | ) |
Definition at line 365 of file client.cpp.
◆ checkGroup()
| void KWinInternal::Client::checkGroup | ( | Group * | gr = NULL, |
| bool | force = false |
||
| ) |
◆ checkTransient()
◆ checkWorkspacePosition()
| void KWinInternal::Client::checkWorkspacePosition | ( | ) |
Definition at line 923 of file geometry.cpp.
◆ clientPos()
◆ clientSize()
◆ closeWindow()
| void KWinInternal::Client::closeWindow | ( | ) |
Closes the window by either sending a delete_window message or using XKill.
Definition at line 1740 of file client.cpp.
◆ colormap()
◆ decorationId()
◆ defaultOpacity() [1/2]
| uint KWinInternal::Client::defaultOpacity | ( | ) |
Definition at line 2825 of file client.cpp.
◆ defaultOpacity() [2/2]
| uint KWinInternal::Client::defaultOpacity | ( | bool | active | ) |
Returns default opacity for an active or inactive window depending on the argument.
Definition at line 2830 of file client.cpp.
◆ deleteClient()
|
static |
Definition at line 210 of file client.cpp.
◆ demandAttention()
| void KWinInternal::Client::demandAttention | ( | bool | set = true | ) |
Definition at line 706 of file activation.cpp.
◆ desktop()
|
inline |
Returns the virtual desktop within the workspace() the client window is located in, 0 if it isn't located on any special desktop (not mapped yet), or NET::OnAllDesktops. Do not use desktop() directly, use isOnDesktop() instead.
◆ destroyClient()
| void KWinInternal::Client::destroyClient | ( | ) |
Definition at line 281 of file client.cpp.
◆ eventFilter()
|
virtual |
Definition at line 1085 of file events.cpp.
◆ findModal()
◆ frameId()
◆ fullScreenMode()
◆ geometry()
◆ geometryFSRestore()
|
inline |
◆ geometryRestore()
|
inline |
◆ getWindowOpacity()
| bool KWinInternal::Client::getWindowOpacity | ( | ) |
Definition at line 2936 of file client.cpp.
◆ gotPing()
| void KWinInternal::Client::gotPing | ( | Time | timestamp | ) |
Definition at line 1799 of file client.cpp.
◆ group() [1/2]
◆ group() [2/2]
◆ groupTransient()
◆ growHorizontal()
| void KWinInternal::Client::growHorizontal | ( | ) |
Definition at line 631 of file placement.cpp.
◆ growVertical()
| void KWinInternal::Client::growVertical | ( | ) |
Definition at line 676 of file placement.cpp.
◆ hasCustomOpacity()
◆ hasNETSupport()
◆ hasStrut()
| bool KWinInternal::Client::hasStrut | ( | ) | const |
Definition at line 879 of file geometry.cpp.
◆ hasTransient()
| bool KWinInternal::Client::hasTransient | ( | const Client * | c, |
| bool | indirect | ||
| ) | const |
◆ hasUserTimeSupport()
|
inline |
◆ height()
◆ hideClient()
| void KWinInternal::Client::hideClient | ( | bool | hide | ) |
Definition at line 624 of file client.cpp.
◆ icon()
◆ ignoreFocusStealing()
|
inline |
◆ invalidateLayer()
◆ isActive()
◆ isActiveBorderMaximizing()
| bool KWinInternal::Client::isActiveBorderMaximizing | ( | ) | const |
Definition at line 2738 of file geometry.cpp.
◆ isBMP()
◆ isCloseable()
| bool KWinInternal::Client::isCloseable | ( | ) | const |
Definition at line 1729 of file client.cpp.
◆ isDesktop()
| bool KWinInternal::Client::isDesktop | ( | ) | const |
Definition at line 2617 of file client.cpp.
◆ isDialog()
| bool KWinInternal::Client::isDialog | ( | ) | const |
Definition at line 2653 of file client.cpp.
◆ isDock()
| bool KWinInternal::Client::isDock | ( | ) | const |
Definition at line 2622 of file client.cpp.
◆ isFullScreen()
◆ isFullScreenable()
| bool KWinInternal::Client::isFullScreenable | ( | bool | fullscreen_hack = false | ) | const |
Definition at line 2115 of file geometry.cpp.
◆ isMaximizable()
| bool KWinInternal::Client::isMaximizable | ( | ) | const |
Definition at line 1683 of file geometry.cpp.
◆ isMenu()
| bool KWinInternal::Client::isMenu | ( | ) | const |
Definition at line 2633 of file client.cpp.
◆ isMinimizable()
| bool KWinInternal::Client::isMinimizable | ( | ) | const |
Returns whether the window is minimizable or not
Definition at line 635 of file client.cpp.
◆ isMinimized()
◆ isModal()
◆ isModalSystemNotification()
| bool KWinInternal::Client::isModalSystemNotification | ( | ) | const |
Definition at line 521 of file client.cpp.
◆ isMovable()
| bool KWinInternal::Client::isMovable | ( | ) | const |
Returns whether the window is moveable or has a fixed position.
Definition at line 1648 of file geometry.cpp.
◆ isNormalWindow()
| bool KWinInternal::Client::isNormalWindow | ( | ) | const |
Definition at line 2658 of file client.cpp.
◆ isOnAllDesktops()
|
inline |
◆ isOnCurrentDesktop()
| bool KWinInternal::Client::isOnCurrentDesktop | ( | ) | const |
Definition at line 2181 of file client.cpp.
◆ isOnDesktop()
|
inline |
◆ isOnScreen()
| bool KWinInternal::Client::isOnScreen | ( | int | screen | ) | const |
Definition at line 2193 of file client.cpp.
◆ isResizable()
| bool KWinInternal::Client::isResizable | ( | ) | const |
Returns whether the window is resizable or has a fixed size.
Definition at line 1664 of file geometry.cpp.
◆ isResumeable()
| bool KWinInternal::Client::isResumeable | ( | ) | const |
Definition at line 1942 of file client.cpp.
◆ isShade()
◆ isShadeable()
| bool KWinInternal::Client::isShadeable | ( | ) | const |
Definition at line 847 of file client.cpp.
◆ isShadowed()
◆ isShown()
|
inline |
◆ isSpecialWindow()
| bool KWinInternal::Client::isSpecialWindow | ( | ) | const |
Definition at line 2663 of file client.cpp.
◆ isSplash()
| bool KWinInternal::Client::isSplash | ( | ) | const |
Definition at line 2643 of file client.cpp.
◆ isSuspendable()
| bool KWinInternal::Client::isSuspendable | ( | ) | const |
Definition at line 1863 of file client.cpp.
◆ isToolbar()
| bool KWinInternal::Client::isToolbar | ( | ) | const |
Definition at line 2638 of file client.cpp.
◆ isTopMenu()
| bool KWinInternal::Client::isTopMenu | ( | ) | const |
Definition at line 2627 of file client.cpp.
◆ isTransient()
◆ isUserNoBorder()
| bool KWinInternal::Client::isUserNoBorder | ( | ) | const |
Definition at line 490 of file client.cpp.
◆ isUserNoBorderForced()
| bool KWinInternal::Client::isUserNoBorderForced | ( | ) | const |
Definition at line 516 of file client.cpp.
◆ isUtility()
| bool KWinInternal::Client::isUtility | ( | ) | const |
Definition at line 2648 of file client.cpp.
◆ keepAbove()
| bool KWinInternal::Client::keepAbove | ( | ) | const |
Returns whether the window is kept above or not
Definition at line 668 of file client.cpp.
◆ keepBelow()
◆ keepInArea()
| void KWinInternal::Client::keepInArea | ( | TQRect | area, |
| bool | partial = false |
||
| ) |
Definition at line 708 of file geometry.cpp.
◆ keyPressEvent()
| void KWinInternal::Client::keyPressEvent | ( | uint | key_code | ) |
Definition at line 1731 of file events.cpp.
◆ killWindow()
| void KWinInternal::Client::killWindow | ( | ) |
Kills the window via XKill
Definition at line 1764 of file client.cpp.
◆ layer()
| Layer KWinInternal::Client::layer | ( | ) | const |
Definition at line 799 of file layers.cpp.
◆ mainClients()
◆ manage()
| bool KWinInternal::Client::manage | ( | Window | w, |
| bool | isMapped | ||
| ) |
Manages the clients. This means handling the very first maprequest: reparenting, initial geometry, initial state, placement, etc. Returns false if KWin is not going to manage this window.
Definition at line 36 of file manage.cpp.
◆ mask()
| TQRegion KWinInternal::Client::mask | ( | ) | const |
Definition at line 611 of file client.cpp.
◆ maximize()
| void KWinInternal::Client::maximize | ( | MaximizeMode | m | ) |
Definition at line 1873 of file geometry.cpp.
◆ maximizeMode()
|
inline |
◆ maximizeModeRestore()
|
inline |
◆ maxSize()
| TQSize KWinInternal::Client::maxSize | ( | ) | const |
Definition at line 1359 of file geometry.cpp.
◆ miniIcon()
◆ minimize()
| void KWinInternal::Client::minimize | ( | bool | avoid_animation = false | ) |
Minimizes this client plus its transients
Definition at line 678 of file client.cpp.
◆ minSize()
| TQSize KWinInternal::Client::minSize | ( | ) | const |
Definition at line 1354 of file geometry.cpp.
◆ move() [1/2]
|
inline |
◆ move() [2/2]
| void KWinInternal::Client::move | ( | int | x, |
| int | y, | ||
| ForceGeometry_t | force = NormalGeometrySet |
||
| ) |
Reimplemented to inform the client about the new window position.
Definition at line 1830 of file geometry.cpp.
◆ moveResizeGrabWindow()
|
inline |
◆ NETMoveResize()
| void KWinInternal::Client::NETMoveResize | ( | int | x_root, |
| int | y_root, | ||
| NET::Direction | direction | ||
| ) |
Definition at line 1680 of file events.cpp.
◆ NETMoveResizeWindow()
| void KWinInternal::Client::NETMoveResizeWindow | ( | int | flags, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 1629 of file geometry.cpp.
◆ noBorder()
| bool KWinInternal::Client::noBorder | ( | ) | const |
Definition at line 480 of file client.cpp.
◆ opacity()
| uint KWinInternal::Client::opacity | ( | ) |
Definition at line 2967 of file client.cpp.
◆ opacityPercentage()
| int KWinInternal::Client::opacityPercentage | ( | ) |
Definition at line 2972 of file client.cpp.
◆ performMouseCommand()
| bool KWinInternal::Client::performMouseCommand | ( | Options::MouseCommand | command, |
| TQPoint | globalPos, | ||
| bool | handled = false |
||
| ) |
Performs a mouse command on this client (see options.h)
Definition at line 502 of file useractions.cpp.
◆ pid()
◆ plainResize() [1/2]
|
inline |
◆ plainResize() [2/2]
| void KWinInternal::Client::plainResize | ( | int | w, |
| int | h, | ||
| ForceGeometry_t | force = NormalGeometrySet |
||
| ) |
Definition at line 1773 of file geometry.cpp.
◆ pos()
◆ providesContextHelp()
| bool KWinInternal::Client::providesContextHelp | ( | ) | const |
Returns whether the window provides context help or not. If it does, you should show a help menu item or a help button like '?' and call contextHelp() if this is invoked.
- See also
- contextHelp()
Definition at line 2258 of file client.cpp.
◆ queryUserSuspendedResume()
| bool KWinInternal::Client::queryUserSuspendedResume | ( | ) |
Definition at line 1989 of file client.cpp.
◆ readIcons()
|
static |
Definition at line 2415 of file client.cpp.
◆ rect()
◆ releaseWindow()
| void KWinInternal::Client::releaseWindow | ( | bool | on_shutdown = false | ) |
Releases the window. The client has done its job and the window is still existing.
Definition at line 218 of file client.cpp.
◆ removeRule()
◆ resizeWithChecks() [1/2]
|
inline |
◆ resizeWithChecks() [2/2]
| void KWinInternal::Client::resizeWithChecks | ( | int | w, |
| int | h, | ||
| ForceGeometry_t | force = NormalGeometrySet |
||
| ) |
Definition at line 1547 of file geometry.cpp.
◆ resourceClass()
|
inline |
◆ resourceMatch()
◆ resourceName()
|
inline |
◆ restackWindow()
| void KWinInternal::Client::restackWindow | ( | Window | above, |
| int | detail, | ||
| NET::RequestSource | source, | ||
| Time | timestamp, | ||
| bool | send_event = false |
||
| ) |
Definition at line 741 of file layers.cpp.
◆ resumeWindow()
| void KWinInternal::Client::resumeWindow | ( | ) |
Definition at line 2054 of file client.cpp.
◆ ruleOpacityActive()
| uint KWinInternal::Client::ruleOpacityActive | ( | ) |
Definition at line 2931 of file client.cpp.
◆ ruleOpacityInactive()
| uint KWinInternal::Client::ruleOpacityInactive | ( | ) |
Definition at line 2926 of file client.cpp.
◆ rules()
|
inline |
◆ screen()
| int KWinInternal::Client::screen | ( | ) | const |
Definition at line 2186 of file client.cpp.
◆ sessionId()
| TQCString KWinInternal::Client::sessionId | ( | ) |
Returns sessionId for this client, taken either from its window or from the leader window.
Definition at line 2551 of file client.cpp.
◆ setActive()
| void KWinInternal::Client::setActive | ( | bool | act, |
| bool | updateOpacity_ = true |
||
| ) |
Sets the client's active state to act.
This function does only change the visual appearance of the client, it does not change the focus setting. Use Workspace::activateClient() or Workspace::requestFocus() instead.
If a client receives or looses the focus, it calls setActive() on its own.
Definition at line 856 of file activation.cpp.
◆ setActiveBorder()
| void KWinInternal::Client::setActiveBorder | ( | ActiveBorder | border | ) |
Definition at line 2730 of file geometry.cpp.
◆ setActiveBorderMaximizing()
| void KWinInternal::Client::setActiveBorderMaximizing | ( | bool | maximizing | ) |
Definition at line 2743 of file geometry.cpp.
◆ setActiveBorderMode()
| void KWinInternal::Client::setActiveBorderMode | ( | ActiveMaximizingMode | mode | ) |
Definition at line 2710 of file geometry.cpp.
◆ setActiveBorderPos()
| void KWinInternal::Client::setActiveBorderPos | ( | TQPoint | pos | ) |
Definition at line 2720 of file geometry.cpp.
◆ setBMP()
◆ setCustomOpacityFlag()
| void KWinInternal::Client::setCustomOpacityFlag | ( | bool | custom = true | ) |
Definition at line 2962 of file client.cpp.
◆ setDesktop()
| void KWinInternal::Client::setDesktop | ( | int | desktop | ) |
Definition at line 2147 of file client.cpp.
◆ setFullScreen()
| void KWinInternal::Client::setFullScreen | ( | bool | set, |
| bool | user | ||
| ) |
Definition at line 2143 of file geometry.cpp.
◆ setGeometry() [1/2]
|
inline |
◆ setGeometry() [2/2]
| void KWinInternal::Client::setGeometry | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| ForceGeometry_t | force = NormalGeometrySet |
||
| ) |
Reimplemented to inform the client about the new window position.
Definition at line 1713 of file geometry.cpp.
◆ setKeepAbove()
| void KWinInternal::Client::setKeepAbove | ( | bool | b | ) |
Definition at line 761 of file layers.cpp.
◆ setKeepBelow()
| void KWinInternal::Client::setKeepBelow | ( | bool | b | ) |
Definition at line 780 of file layers.cpp.
◆ setMask()
| void KWinInternal::Client::setMask | ( | const TQRegion & | r, |
| int | mode = X::Unsorted |
||
| ) |
Definition at line 582 of file client.cpp.
◆ setMaximize()
| void KWinInternal::Client::setMaximize | ( | bool | vertically, |
| bool | horizontally | ||
| ) |
Sets the maximization according to vertically and horizontally
Definition at line 1881 of file geometry.cpp.
◆ setModal()
| void KWinInternal::Client::setModal | ( | bool | modal | ) |
Definition at line 2136 of file client.cpp.
◆ setOnAllDesktops()
| void KWinInternal::Client::setOnAllDesktops | ( | bool | set | ) |
Definition at line 2170 of file client.cpp.
◆ setOpacity()
| void KWinInternal::Client::setOpacity | ( | uint | opacity | ) |
Definition at line 2797 of file client.cpp.
◆ setShade()
| void KWinInternal::Client::setShade | ( | ShadeMode | mode | ) |
Definition at line 852 of file client.cpp.
◆ setShadowed()
| void KWinInternal::Client::setShadowed | ( | bool | shadowed | ) |
Definition at line 1052 of file client.cpp.
◆ setShadowSize()
| void KWinInternal::Client::setShadowSize | ( | uint | shadowSize | ) |
Definition at line 2817 of file client.cpp.
◆ setShapable()
| void KWinInternal::Client::setShapable | ( | bool | b | ) |
Definition at line 618 of file client.cpp.
◆ setShortcut()
| void KWinInternal::Client::setShortcut | ( | const TQString & | cut | ) |
Definition at line 1219 of file useractions.cpp.
◆ setSkipPager()
| void KWinInternal::Client::setSkipPager | ( | bool | b | ) |
Definition at line 2126 of file client.cpp.
◆ setSkipTaskbar()
| void KWinInternal::Client::setSkipTaskbar | ( | bool | set, |
| bool | from_outside | ||
| ) |
Definition at line 2108 of file client.cpp.
◆ setupWindowRules()
| void KWinInternal::Client::setupWindowRules | ( | bool | ignore_temporary | ) |
◆ setUserNoBorder() [1/2]
| void KWinInternal::Client::setUserNoBorder | ( | bool | set | ) |
Definition at line 495 of file client.cpp.
◆ setUserNoBorder() [2/2]
| void KWinInternal::Client::setUserNoBorder | ( | bool | set, |
| bool | force | ||
| ) |
Definition at line 500 of file client.cpp.
◆ shadeMode()
◆ shadowId()
◆ shape()
◆ shortcut()
|
inline |
◆ showContextHelp()
| void KWinInternal::Client::showContextHelp | ( | ) |
Invokes context help on the window. Only works if the window actually provides context help.
- See also
- providesContextHelp()
Definition at line 2272 of file client.cpp.
◆ shrinkHorizontal()
| void KWinInternal::Client::shrinkHorizontal | ( | ) |
Definition at line 657 of file placement.cpp.
◆ shrinkVertical()
| void KWinInternal::Client::shrinkVertical | ( | ) |
Definition at line 702 of file placement.cpp.
◆ size()
◆ skipPager()
◆ skipTaskbar()
|
inline |
◆ staticSessionId()
|
static |
Returns SM_CLIENT_ID property for a given window.
Definition at line 2503 of file client.cpp.
◆ staticWindowRole()
|
static |
Returns WM_WINDOW_ROLE property for a given window.
Definition at line 2495 of file client.cpp.
◆ staticWmClientLeader()
|
static |
Returns WM_CLIENT_LEADER property for a given window.
Definition at line 2519 of file client.cpp.
◆ staticWmCommand()
|
static |
Returns WM_COMMAND property for a given window.
Definition at line 2511 of file client.cpp.
◆ suspendWindow()
| void KWinInternal::Client::suspendWindow | ( | ) |
Definition at line 2020 of file client.cpp.
◆ takeActivity()
| void KWinInternal::Client::takeActivity | ( | int | flags, |
| bool | handled, | ||
| allowed_t | |||
| ) |
Definition at line 2201 of file client.cpp.
◆ takeFocus()
| void KWinInternal::Client::takeFocus | ( | allowed_t | ) |
Definition at line 2227 of file client.cpp.
◆ tileToBorder()
| void KWinInternal::Client::tileToBorder | ( | ActiveBorder | border | ) |
Definition at line 2832 of file geometry.cpp.
◆ toggleShade()
| void KWinInternal::Client::toggleShade | ( | ) |
Definition at line 993 of file client.cpp.
◆ touches()
| bool KWinInternal::Client::touches | ( | const Client * | c | ) |
Definition at line 2977 of file client.cpp.
◆ transientFor() [1/2]
◆ transientFor() [2/2]
|
inline |
◆ transients()
|
inline |
◆ unminimize()
| void KWinInternal::Client::unminimize | ( | bool | avoid_animation = false | ) |
Definition at line 701 of file client.cpp.
◆ updateCaption()
| void KWinInternal::Client::updateCaption | ( | ) |
Definition at line 2343 of file client.cpp.
◆ updateDecoration()
| void KWinInternal::Client::updateDecoration | ( | bool | check_workspace_pos, |
| bool | force = false |
||
| ) |
Definition at line 309 of file client.cpp.
◆ updateMouseGrab()
| void KWinInternal::Client::updateMouseGrab | ( | ) |
Definition at line 1010 of file events.cpp.
◆ updateOpacity()
| void KWinInternal::Client::updateOpacity | ( | ) |
Definition at line 2848 of file client.cpp.
◆ updateShadowSize()
| void KWinInternal::Client::updateShadowSize | ( | ) |
Definition at line 2915 of file client.cpp.
◆ updateShape()
| void KWinInternal::Client::updateShape | ( | ) |
Definition at line 535 of file client.cpp.
◆ updateUserTime()
| void KWinInternal::Client::updateUserTime | ( | Time | time = CurrentTime | ) |
Updates the user time (time of last action in the active window). This is called inside twin for every action with the window that qualifies for user interaction (clicking on it, activate it externally, etc.).
Definition at line 674 of file activation.cpp.
◆ updateVisibility()
| void KWinInternal::Client::updateVisibility | ( | ) |
Definition at line 999 of file client.cpp.
◆ updateWindowRules()
◆ userCanSetFullScreen()
| bool KWinInternal::Client::userCanSetFullScreen | ( | ) | const |
Definition at line 2132 of file geometry.cpp.
◆ userCanSetNoBorder()
| bool KWinInternal::Client::userCanSetNoBorder | ( | ) | const |
Definition at line 485 of file client.cpp.
◆ userTime()
| Time KWinInternal::Client::userTime | ( | ) | const |
Definition at line 832 of file activation.cpp.
◆ wantsInput()
| bool KWinInternal::Client::wantsInput | ( | ) | const |
Definition at line 2612 of file client.cpp.
◆ wantsTabFocus()
| bool KWinInternal::Client::wantsTabFocus | ( | ) | const |
Definition at line 2606 of file client.cpp.
◆ wasOriginallyGroupTransient()
|
inline |
◆ width()
◆ window()
◆ windowEvent()
| bool KWinInternal::Client::windowEvent | ( | XEvent * | e | ) |
General handler for XEvents concerning the client window
Definition at line 507 of file events.cpp.
◆ windowRole()
|
inline |
◆ windowType()
| NET::WindowType KWinInternal::Client::windowType | ( | bool | direct = false, |
| int | supported_types = SUPPORTED_WINDOW_TYPES_MASK |
||
| ) | const |
Definition at line 2669 of file client.cpp.
◆ wmClientLeader()
| Window KWinInternal::Client::wmClientLeader | ( | ) | const |
Returns client leader window for this client. Returns the client window itself if no leader window is defined.
Definition at line 2599 of file client.cpp.
◆ wmClientMachine()
| TQCString KWinInternal::Client::wmClientMachine | ( | bool | use_localhost | ) | const |
Returns client machine for this client, taken either from its window or from the leader window.
Definition at line 2584 of file client.cpp.
◆ wmCommand()
| TQCString KWinInternal::Client::wmCommand | ( | ) |
Returns command property for this client, taken either from its window or from the leader window.
Definition at line 2563 of file client.cpp.
◆ workspace()
|
inline |
◆ wrapperId()
◆ x()
◆ y()
Friends And Related Function Documentation
◆ Bridge
◆ CheckIgnoreFocusStealingProcedure
◆ FetchNameInternalPredicate
◆ GeometryUpdatesPostponer
◆ ResetupRulesProcedure
The documentation for this class was generated from the following files:
Trinity API Reference