KWin
|
Representation of a window used by/for Effect classes. More...
#include <effectwindow.h>
Public Types | |
enum | { PAINT_DISABLED = 1 << 0 , PAINT_DISABLED_BY_DESKTOP = 1 << 1 , PAINT_DISABLED_BY_MINIMIZE = 1 << 2 , PAINT_DISABLED_BY_ACTIVITY = 1 << 3 } |
Public Member Functions | |
Private (EffectWindow *q, WindowItem *windowItem) | |
EffectWindow (WindowItem *windowItem) | |
~EffectWindow () override | |
Q_SCRIPTABLE void | addRepaint (const QRect &r) |
Q_SCRIPTABLE void | addRepaint (int x, int y, int w, int h) |
Q_SCRIPTABLE void | addRepaintFull () |
Q_SCRIPTABLE void | addLayerRepaint (const QRect &r) |
Q_SCRIPTABLE void | addLayerRepaint (int x, int y, int w, int h) |
void | refWindow () |
void | unrefWindow () |
bool | isDeleted () const |
bool | isHidden () const |
bool | isHiddenByShowDesktop () const |
bool | isMinimized () const |
double | opacity () const |
bool | isOnCurrentActivity () const |
Q_SCRIPTABLE bool | isOnActivity (const QString &id) const |
bool | isOnAllActivities () const |
QStringList | activities () const |
Q_SCRIPTABLE bool | isOnDesktop (KWin::VirtualDesktop *desktop) const |
bool | isOnCurrentDesktop () const |
bool | isOnAllDesktops () const |
QList< KWin::VirtualDesktop * > | desktops () const |
qreal | x () const |
qreal | y () const |
qreal | width () const |
qreal | height () const |
QSizeF | basicUnit () const |
QRectF | frameGeometry () const |
QRectF | bufferGeometry () const |
QRectF | clientGeometry () const |
QRectF | expandedGeometry () const |
Output * | screen () const |
QPointF | pos () const |
QSizeF | size () const |
QRectF | rect () const |
bool | isMovable () const |
bool | isMovableAcrossScreens () const |
bool | isUserMove () const |
bool | isUserResize () const |
QRectF | iconGeometry () const |
QRectF | contentsRect () const |
QRectF | decorationInnerRect () const |
bool | hasDecoration () const |
bool | decorationHasAlpha () const |
KDecoration2::Decoration * | decoration () const |
QByteArray | readProperty (long atom, long type, int format) const |
void | deleteProperty (long atom) const |
QString | caption () const |
QIcon | icon () const |
QString | windowClass () const |
QString | windowRole () const |
const EffectWindowGroup * | group () const |
bool | isDesktop () const |
bool | isDock () const |
bool | isToolbar () const |
bool | isMenu () const |
bool | isNormalWindow () const |
bool | isSpecialWindow () const |
bool | isDialog () const |
bool | isSplash () const |
bool | isUtility () const |
bool | isDropdownMenu () const |
bool | isPopupMenu () const |
bool | isTooltip () const |
bool | isNotification () const |
bool | isCriticalNotification () const |
bool | isAppletPopup () const |
bool | isOnScreenDisplay () const |
bool | isComboBox () const |
bool | isDNDIcon () const |
NET::WindowType | windowType () const |
bool | isManaged () const |
bool | acceptsFocus () const |
bool | keepAbove () const |
bool | keepBelow () const |
bool | isModal () const |
Q_SCRIPTABLE KWin::EffectWindow * | findModal () |
Q_SCRIPTABLE KWin::EffectWindow * | transientFor () |
Q_SCRIPTABLE QList< KWin::EffectWindow * > | mainWindows () const |
bool | isSkipSwitcher () const |
void | setMinimized (bool minimize) |
void | minimize () |
void | unminimize () |
Q_SCRIPTABLE void | closeWindow () |
bool | isVisible () const |
bool | skipsCloseAnimation () const |
SurfaceInterface * | surface () const |
bool | isFullScreen () const |
bool | isUnresponsive () const |
bool | isWaylandClient () const |
bool | isX11Client () const |
bool | isPopupWindow () const |
QWindow * | internalWindow () const |
bool | isOutline () const |
bool | isLockScreen () const |
pid_t | pid () const |
qlonglong | windowId () const |
QUuid | internalId () const |
bool | isInputMethod () const |
Q_SCRIPTABLE void | setData (int role, const QVariant &data) |
Q_SCRIPTABLE QVariant | data (int role) const |
Window * | window () const |
WindowItem * | windowItem () const |
void | elevate (bool elevate) |
Public Attributes | |
EffectWindow * | q |
Window * | m_window |
WindowItem * | m_windowItem |
QHash< int, QVariant > | dataMap |
bool | managed = false |
bool | m_waylandWindow |
bool | m_x11Window |
Protected Member Functions | |
void | refVisible (const EffectWindowVisibleRef *holder) |
void | unrefVisible (const EffectWindowVisibleRef *holder) |
Protected Attributes | |
friend | EffectWindowVisibleRef |
Representation of a window used by/for Effect classes.
The purpose is to hide internal data and also to serve as a single representation for the case when Client/Unmanaged becomes Deleted.
Definition at line 23 of file effectwindow.cpp.
anonymous enum |
Flags explaining why painting should be disabled
Enumerator | |
---|---|
PAINT_DISABLED | Window will not be painted |
PAINT_DISABLED_BY_DESKTOP | Window will not be painted because of which desktop it's on |
PAINT_DISABLED_BY_MINIMIZE | Window will not be painted because it is minimized |
PAINT_DISABLED_BY_ACTIVITY | Window will not be painted because it's not on the current activity |
Definition at line 331 of file effectwindow.h.
|
explicit |
Definition at line 44 of file effectwindow.cpp.
|
override |
Definition at line 122 of file effectwindow.cpp.
bool KWin::EffectWindow::acceptsFocus | ( | ) | const |
Returns whether or not the window can accept keyboard focus.
QStringList KWin::EffectWindow::activities | ( | ) | const |
void KWin::EffectWindow::addLayerRepaint | ( | const QRect & | r | ) |
Definition at line 209 of file effectwindow.cpp.
|
inline |
Definition at line 989 of file effectwindow.h.
void KWin::EffectWindow::addRepaint | ( | const QRect & | r | ) |
Definition at line 199 of file effectwindow.cpp.
|
inline |
Definition at line 984 of file effectwindow.h.
void KWin::EffectWindow::addRepaintFull | ( | ) |
Definition at line 204 of file effectwindow.cpp.
QSizeF KWin::EffectWindow::basicUnit | ( | ) | const |
By how much the window wishes to grow/shrink at least. Usually QSize(1,1). MAY BE DISOBEYED BY THE WM! It's only for information, do NOT rely on it at all.
Definition at line 329 of file effectwindow.cpp.
QRectF KWin::EffectWindow::bufferGeometry | ( | ) | const |
QString KWin::EffectWindow::caption | ( | ) | const |
QRectF KWin::EffectWindow::clientGeometry | ( | ) | const |
void KWin::EffectWindow::closeWindow | ( | ) |
Definition at line 464 of file effectwindow.cpp.
QRectF KWin::EffectWindow::contentsRect | ( | ) | const |
Geometry of the actual window contents inside the whole (including decorations) window.
Definition at line 319 of file effectwindow.cpp.
QVariant KWin::EffectWindow::data | ( | int | role | ) | const |
Definition at line 440 of file effectwindow.cpp.
KDecoration2::Decoration * KWin::EffectWindow::decoration | ( | ) | const |
bool KWin::EffectWindow::decorationHasAlpha | ( | ) | const |
QRectF KWin::EffectWindow::decorationInnerRect | ( | ) | const |
Geometry of the transparent rect in the decoration. May be different from contentsRect() if the decoration is extended into the client area.
Definition at line 337 of file effectwindow.cpp.
void KWin::EffectWindow::deleteProperty | ( | long | atom | ) | const |
Definition at line 371 of file effectwindow.cpp.
QList< KWin::VirtualDesktop * > KWin::EffectWindow::desktops | ( | ) | const |
All the desktops by number that the window is in. On X11 this list will always have a length of 1, on Wayland can be any subset. If the list is empty it means the window is on all desktops
void KWin::EffectWindow::elevate | ( | bool | elevate | ) |
Definition at line 445 of file effectwindow.cpp.
QRectF KWin::EffectWindow::expandedGeometry | ( | ) | const |
Geometry of the window including decoration and potentially shadows. May be different from geometry() if the window has a shadow.
EffectWindow * KWin::EffectWindow::findModal | ( | ) |
Definition at line 383 of file effectwindow.cpp.
QRectF KWin::EffectWindow::frameGeometry | ( | ) | const |
Returns the geometry of the window excluding server-side and client-side drop-shadows.
const EffectWindowGroup * KWin::EffectWindow::group | ( | ) | const |
Definition at line 214 of file effectwindow.cpp.
bool KWin::EffectWindow::hasDecoration | ( | ) | const |
Definition at line 177 of file effectwindow.cpp.
qreal KWin::EffectWindow::height | ( | ) | const |
QIcon KWin::EffectWindow::icon | ( | ) | const |
QRectF KWin::EffectWindow::iconGeometry | ( | ) | const |
QUuid KWin::EffectWindow::internalId | ( | ) | const |
Returns the internal id of the window that uniquely identifies it. The main difference between internalId() and windowId() is that the latter one works as expected only on X11, while the former is unique regardless of the window system.
Note that the internaId() has special meaning only to kwin.
QWindow * KWin::EffectWindow::internalWindow | ( | ) | const |
Definition at line 403 of file effectwindow.cpp.
bool KWin::EffectWindow::isAppletPopup | ( | ) | const |
Returns whether the window is a window used for applet popups.
bool KWin::EffectWindow::isComboBox | ( | ) | const |
Returns whether the window is a combobox popup. See _NET_WM_WINDOW_TYPE_COMBO at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isCriticalNotification | ( | ) | const |
Returns whether the window is a window with a critical notification. using the non-standard _KDE_NET_WM_WINDOW_TYPE_CRITICAL_NOTIFICATION
bool KWin::EffectWindow::isDeleted | ( | ) | const |
bool KWin::EffectWindow::isDesktop | ( | ) | const |
Returns whether the window is a desktop background window (the one with wallpaper). See _NET_WM_WINDOW_TYPE_DESKTOP at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isDialog | ( | ) | const |
Returns whether the window is a dialog window. See _NET_WM_WINDOW_TYPE_DIALOG at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isDNDIcon | ( | ) | const |
Returns whether the window is a Drag&Drop icon. See _NET_WM_WINDOW_TYPE_DND at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isDock | ( | ) | const |
Returns whether the window is a dock (i.e. a panel). See _NET_WM_WINDOW_TYPE_DOCK at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isDropdownMenu | ( | ) | const |
Returns whether the window is a dropdown menu (i.e. a popup directly or indirectly open from the applications menubar). See _NET_WM_WINDOW_TYPE_DROPDOWN_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isFullScreen | ( | ) | const |
bool KWin::EffectWindow::isHidden | ( | ) | const |
bool KWin::EffectWindow::isHiddenByShowDesktop | ( | ) | const |
bool KWin::EffectWindow::isInputMethod | ( | ) | const |
bool KWin::EffectWindow::isLockScreen | ( | ) | const |
bool KWin::EffectWindow::isManaged | ( | ) | const |
Returns whether the window is managed by KWin (it has control over its placement and other aspects, as opposed to override-redirect windows that are entirely handled by the application).
Definition at line 471 of file effectwindow.cpp.
bool KWin::EffectWindow::isMenu | ( | ) | const |
Returns whether the window is a torn-off menu. See _NET_WM_WINDOW_TYPE_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isMinimized | ( | ) | const |
bool KWin::EffectWindow::isModal | ( | ) | const |
bool KWin::EffectWindow::isMovable | ( | ) | const |
bool KWin::EffectWindow::isMovableAcrossScreens | ( | ) | const |
bool KWin::EffectWindow::isNormalWindow | ( | ) | const |
Returns whether the window is a "normal" window, i.e. an application or any other window for which none of the specialized window types fit. See _NET_WM_WINDOW_TYPE_NORMAL at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isNotification | ( | ) | const |
Returns whether the window is a window with a notification. See _NET_WM_WINDOW_TYPE_NOTIFICATION at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isOnActivity | ( | const QString & | id | ) | const |
Definition at line 136 of file effectwindow.cpp.
bool KWin::EffectWindow::isOnAllActivities | ( | ) | const |
Definition at line 142 of file effectwindow.cpp.
bool KWin::EffectWindow::isOnAllDesktops | ( | ) | const |
Definition at line 172 of file effectwindow.cpp.
bool KWin::EffectWindow::isOnCurrentActivity | ( | ) | const |
Definition at line 156 of file effectwindow.cpp.
bool KWin::EffectWindow::isOnCurrentDesktop | ( | ) | const |
Definition at line 161 of file effectwindow.cpp.
bool KWin::EffectWindow::isOnDesktop | ( | KWin::VirtualDesktop * | desktop | ) | const |
Definition at line 166 of file effectwindow.cpp.
bool KWin::EffectWindow::isOnScreenDisplay | ( | ) | const |
Returns whether the window is an on screen display window using the non-standard _KDE_NET_WM_WINDOW_TYPE_ON_SCREEN_DISPLAY
bool KWin::EffectWindow::isOutline | ( | ) | const |
bool KWin::EffectWindow::isPopupMenu | ( | ) | const |
Returns whether the window is a popup menu (that is not a torn-off or dropdown menu). See _NET_WM_WINDOW_TYPE_POPUP_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isPopupWindow | ( | ) | const |
bool KWin::EffectWindow::isSkipSwitcher | ( | ) | const |
Returns whether the window should be excluded from window switching effects.
bool KWin::EffectWindow::isSpecialWindow | ( | ) | const |
Returns whether the window is any of special windows types (desktop, dock, splash, ...), i.e. window types that usually don't have a window frame and the user does not use window management (moving, raising,...) on them.
bool KWin::EffectWindow::isSplash | ( | ) | const |
Returns whether the window is a splashscreen. Note that many (especially older) applications do not support marking their splash windows with this type. See _NET_WM_WINDOW_TYPE_SPLASH at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isToolbar | ( | ) | const |
Returns whether the window is a standalone (detached) toolbar window. See _NET_WM_WINDOW_TYPE_TOOLBAR at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isTooltip | ( | ) | const |
Returns whether the window is a tooltip. See _NET_WM_WINDOW_TYPE_TOOLTIP at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isUnresponsive | ( | ) | const |
bool KWin::EffectWindow::isUserMove | ( | ) | const |
bool KWin::EffectWindow::isUserResize | ( | ) | const |
bool KWin::EffectWindow::isUtility | ( | ) | const |
Returns whether the window is a utility window, such as a tool window. See _NET_WM_WINDOW_TYPE_UTILITY at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
bool KWin::EffectWindow::isVisible | ( | ) | const |
Definition at line 182 of file effectwindow.cpp.
bool KWin::EffectWindow::isWaylandClient | ( | ) | const |
Definition at line 476 of file effectwindow.cpp.
bool KWin::EffectWindow::isX11Client | ( | ) | const |
Definition at line 481 of file effectwindow.cpp.
bool KWin::EffectWindow::keepAbove | ( | ) | const |
Returns whether or not the window is kept above all other windows.
bool KWin::EffectWindow::keepBelow | ( | ) | const |
Returns whether the window is kept below all other windows.
QList< EffectWindow * > KWin::EffectWindow::mainWindows | ( | ) | const |
Definition at line 425 of file effectwindow.cpp.
void KWin::EffectWindow::minimize | ( | ) |
Definition at line 450 of file effectwindow.cpp.
|
signal |
Signal emitted when a window is minimized or unminimized.
w | The window whose minimized state has changed |
double KWin::EffectWindow::opacity | ( | ) | const |
pid_t KWin::EffectWindow::pid | ( | ) | const |
QPointF KWin::EffectWindow::pos | ( | ) | const |
KWin::EffectWindow::Private | ( | EffectWindow * | q, |
WindowItem * | windowItem ) |
QByteArray KWin::EffectWindow::readProperty | ( | long | atom, |
long | type, | ||
int | format ) const |
Definition at line 347 of file effectwindow.cpp.
QRectF KWin::EffectWindow::rect | ( | ) | const |
|
protected |
Definition at line 189 of file effectwindow.cpp.
void KWin::EffectWindow::refWindow | ( | ) |
Definition at line 222 of file effectwindow.cpp.
Output * KWin::EffectWindow::screen | ( | ) | const |
Definition at line 232 of file effectwindow.cpp.
void KWin::EffectWindow::setData | ( | int | role, |
const QVariant & | data ) |
Can be used to by effects to store arbitrary data in the EffectWindow.
Invoking this method will emit the signal EffectsHandler::windowDataChanged.
Definition at line 430 of file effectwindow.cpp.
void KWin::EffectWindow::setMinimized | ( | bool | minimize | ) |
Definition at line 147 of file effectwindow.cpp.
QSizeF KWin::EffectWindow::size | ( | ) | const |
bool KWin::EffectWindow::skipsCloseAnimation | ( | ) | const |
SurfaceInterface * KWin::EffectWindow::surface | ( | ) | const |
EffectWindow * KWin::EffectWindow::transientFor | ( | ) |
Definition at line 393 of file effectwindow.cpp.
void KWin::EffectWindow::unminimize | ( | ) |
Definition at line 457 of file effectwindow.cpp.
|
protected |
Definition at line 194 of file effectwindow.cpp.
void KWin::EffectWindow::unrefWindow | ( | ) |
Definition at line 227 of file effectwindow.cpp.
qreal KWin::EffectWindow::width | ( | ) | const |
Window * KWin::EffectWindow::window | ( | ) | const |
Definition at line 126 of file effectwindow.cpp.
QString KWin::EffectWindow::windowClass | ( | ) | const |
Definition at line 314 of file effectwindow.cpp.
|
signal |
Signal emitted when an area of a window is scheduled for repainting. Use this signal in an effect if another area needs to be synced as well.
w | The window which is scheduled for repainting |
|
signal |
This signal is emitted when decoration of was
changed.
w | The window for which decoration changed |
|
signal |
This signal is emitted when a window enters or leaves a virtual desktop.
|
signal |
This signal is emitted when the visible geometry of a window changed.
|
signal |
Signal emitted when the user finishes move/resize of window w
.
w | The window which has been moved/resized |
|
signal |
This signal is emitted when the frame geometry is about to change, the new one is not known yet. Useful for OffscreenEffect to grab a window image before any actual change happens.
window | The window whose geometry is about to change |
|
signal |
This signal is emitted when the frame geometry of a window changed.
window | The window whose geometry changed |
oldGeometry | The previous geometry |
|
signal |
This signal is emitted when the full screen state of w
was changed.
w | The window whose the full screen state was changed. |
|
signal |
The window w
got hidden but not yet closed. This can happen when a window is still being used and is supposed to be shown again with windowShown. On X11 an example is autohiding panels. On Wayland every window first goes through the window hidden state and might get shown again, or might get closed the normal way.
qlonglong KWin::EffectWindow::windowId | ( | ) | const |
Definition at line 306 of file effectwindow.cpp.
WindowItem * KWin::EffectWindow::windowItem | ( | ) | const |
Definition at line 131 of file effectwindow.cpp.
|
signal |
This signal is emitted when the keep above state of w
was changed.
w | The window whose the keep above state was changed. |
|
signal |
This signal is emitted when the keep below state of was
changed.
w | The window whose the keep below state was changed. |
|
signal |
Signal emitted when the maximized state of the window w
is about to change, but before windowMaximizedStateChanged is emitted or any geometry change. Useful for OffscreenEffect to grab a window image before any actual change happens
A window can be in one of four states:
horizontal
and vertical
are false
horizontal
is true
and vertical
is false
horizontal
is false
and vertical
is true
horizontal
and vertical
are true
w | The window whose maximized state changed |
horizontal | If true maximized horizontally |
vertical | If true maximized vertically |
|
signal |
Signal emitted when the maximized state of the window w
changed. A window can be in one of four states:
horizontal
and vertical
are false
horizontal
is true
and vertical
is false
horizontal
is false
and vertical
is true
horizontal
and vertical
are true
w | The window whose maximized state changed |
horizontal | If true maximized horizontally |
vertical | If true maximized vertically |
|
signal |
Signal emitted when a window either becomes modal (ie. blocking for its main client) or looses that state.
w | The window which was unminimized |
|
signal |
Signal emitted when the windows opacity is changed.
w | The window whose opacity level is changed. |
oldOpacity | The previous opacity level |
newOpacity | The new opacity level |
QString KWin::EffectWindow::windowRole | ( | ) | const |
|
signal |
The window w
gets shown again. The window was previously initially shown with windowAdded and hidden with windowHidden.
|
signal |
Signal emitted when a user begins a window move or resize operation. To figure out whether the user resizes or moves the window use isUserMove or isUserResize. Whenever the geometry is updated the signal windowStepUserMovedResized is emitted with the current geometry. The move/resize operation ends with the signal windowFinishUserMovedResized. Only one window can be moved/resized by the user at the same time!
w | The window which is being moved/resized |
|
signal |
Signal emitted during a move/resize operation when the user changed the geometry. Please note: KWin supports two operation modes. In one mode all changes are applied instantly. This means the window's geometry matches the passed in geometry
. In the other mode the geometry is changed after the user ended the move/resize mode. The geometry
differs from the window's geometry. Also the window's pixmap still has the same size as before. Depending what the effect wants to do it would be recommended to scale/translate the window.
w | The window which is being moved/resized |
geometry | The geometry of the window in the current move/resize step. |
NET::WindowType KWin::EffectWindow::windowType | ( | ) | const |
Returns the NETWM window type See https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 324 of file effectwindow.cpp.
|
signal |
Signal emitted when a window either became unresponsive (eg. app froze or crashed) or respoonsive
w | The window that became (un)responsive |
unresponsive | Whether the window is responsive or unresponsive |
qreal KWin::EffectWindow::x | ( | ) | const |
qreal KWin::EffectWindow::y | ( | ) | const |
QHash<int, QVariant> KWin::EffectWindow::dataMap |
Definition at line 31 of file effectwindow.cpp.
|
protected |
Definition at line 845 of file effectwindow.h.
bool KWin::EffectWindow::m_waylandWindow |
Definition at line 33 of file effectwindow.cpp.
Window* KWin::EffectWindow::m_window |
Definition at line 29 of file effectwindow.cpp.
WindowItem* KWin::EffectWindow::m_windowItem |
Definition at line 30 of file effectwindow.cpp.
bool KWin::EffectWindow::m_x11Window |
Definition at line 34 of file effectwindow.cpp.
|
read |
Whether this EffectWindow is managed by KWin (it has control over its placement and other aspects, as opposed to override-redirect windows that are entirely handled by the application).
Definition at line 32 of file effectwindow.cpp.
EffectWindow* KWin::EffectWindow::q |
Definition at line 28 of file effectwindow.cpp.
|
read |
Definition at line 229 of file effectwindow.h.
|
read |
By how much the window wishes to grow/shrink at least. Usually QSize(1,1). MAY BE DISOBEYED BY THE WM! It's only for information, do NOT rely on it at all.
Definition at line 194 of file effectwindow.h.
|
read |
The Caption of the window. Read from WM_NAME property together with a suffix for hostname and shortcut.
Definition at line 162 of file effectwindow.h.
|
read |
Returns whether the window is a combobox popup. See _NET_WM_WINDOW_TYPE_COMBO at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 139 of file effectwindow.h.
|
read |
Geometry of the actual window contents inside the whole (including decorations) window.
Definition at line 222 of file effectwindow.h.
|
read |
Returns whether the window is a window with a critical notification. using the non-standard _KDE_NET_WM_WINDOW_TYPE_CRITICAL_NOTIFICATION
Definition at line 129 of file effectwindow.h.
|
read |
Whether the decoration currently uses an alpha channel.
Definition at line 236 of file effectwindow.h.
|
read |
Geometry of the transparent rect in the decoration. May be different from contentsRect if the decoration is extended into the client area.
Definition at line 227 of file effectwindow.h.
|
read |
Whether this EffectWindow represents an already deleted window and only kept for the compositor for animations.
Definition at line 158 of file effectwindow.h.
|
read |
Definition at line 56 of file effectwindow.h.
|
read |
Returns whether the window is a desktop background window (the one with wallpaper). See _NET_WM_WINDOW_TYPE_DESKTOP at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 66 of file effectwindow.h.
|
read |
Returns whether the window is a dialog window. See _NET_WM_WINDOW_TYPE_DIALOG at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 92 of file effectwindow.h.
|
read |
Returns whether the window is a Drag&Drop icon. See _NET_WM_WINDOW_TYPE_DND at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 144 of file effectwindow.h.
|
read |
Returns whether the window is a dock (i.e. a panel). See _NET_WM_WINDOW_TYPE_DOCK at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 71 of file effectwindow.h.
|
read |
Returns whether the window is a dropdown menu (i.e. a popup directly or indirectly open from the applications menubar). See _NET_WM_WINDOW_TYPE_DROPDOWN_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 109 of file effectwindow.h.
|
read |
Definition at line 47 of file effectwindow.h.
|
read |
|
read |
Definition at line 46 of file effectwindow.h.
|
read |
Definition at line 228 of file effectwindow.h.
|
read |
Definition at line 48 of file effectwindow.h.
|
read |
Whether this EffectWindow is hidden because the show desktop mode is active.
Definition at line 327 of file effectwindow.h.
|
read |
Definition at line 214 of file effectwindow.h.
|
read |
The optional geometry representing the minimized Client in e.g a taskbar. See _NET_WM_ICON_GEOMETRY at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 207 of file effectwindow.h.
|
read |
KWin internal window. Specific to Wayland platform.
If the EffectWindow does not reference an internal window, this property is null
.
Definition at line 299 of file effectwindow.h.
|
read |
Whether the window is set to be kept above other windows.
Definition at line 166 of file effectwindow.h.
|
read |
Whether the window is set to be kept below other windows.
Definition at line 170 of file effectwindow.h.
|
read |
Whether this EffectWindow represents the screenlocker greeter.
Definition at line 322 of file effectwindow.h.
|
read |
Returns whether the window is a torn-off menu. See _NET_WM_WINDOW_TYPE_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 81 of file effectwindow.h.
|
readwrite |
Whether the window is minimized.
Definition at line 174 of file effectwindow.h.
|
read |
Whether the window represents a modal window.
Definition at line 178 of file effectwindow.h.
|
read |
Whether the window is currently being moved by the user.
Definition at line 198 of file effectwindow.h.
|
read |
Whether the window is moveable. Even if it is not moveable, it might be possible to move it to another screen.
Definition at line 184 of file effectwindow.h.
|
read |
Whether the window can be moved to another screen.
Definition at line 189 of file effectwindow.h.
|
read |
Returns whether the window is a "normal" window, i.e. an application or any other window for which none of the specialized window types fit. See _NET_WM_WINDOW_TYPE_NORMAL at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 87 of file effectwindow.h.
|
read |
Returns whether the window is a window with a notification. See _NET_WM_WINDOW_TYPE_NOTIFICATION at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 124 of file effectwindow.h.
|
read |
Definition at line 231 of file effectwindow.h.
|
read |
Definition at line 57 of file effectwindow.h.
|
read |
Definition at line 230 of file effectwindow.h.
|
read |
Definition at line 58 of file effectwindow.h.
|
read |
Returns whether the window is an on screen display window using the non-standard _KDE_NET_WM_WINDOW_TYPE_ON_SCREEN_DISPLAY
Definition at line 134 of file effectwindow.h.
|
read |
Definition at line 49 of file effectwindow.h.
|
read |
Whether this EffectWindow represents the outline.
When compositing is turned on, the outline is an actual window.
Definition at line 308 of file effectwindow.h.
|
read |
The PID of the application this window belongs to.
Definition at line 315 of file effectwindow.h.
|
read |
Returns whether the window is a popup menu (that is not a torn-off or dropdown menu). See _NET_WM_WINDOW_TYPE_POPUP_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 114 of file effectwindow.h.
|
read |
Whether the window is a popup.
A popup is a window that can be used to implement tooltips, combo box popups, popup menus and other similar user interface concepts.
Definition at line 291 of file effectwindow.h.
|
read |
Definition at line 50 of file effectwindow.h.
|
read |
Definition at line 59 of file effectwindow.h.
|
read |
Whether the window is currently being resized by the user.
Definition at line 202 of file effectwindow.h.
|
read |
Definition at line 51 of file effectwindow.h.
|
read |
Definition at line 52 of file effectwindow.h.
|
read |
Whether the window does not want to be animated on window close. In case this property is true
it is not useful to start an animation on window close. The window will not be visible, but the animation hooks are executed.
Definition at line 253 of file effectwindow.h.
|
read |
Whether the window should be excluded from window switching effects.
Definition at line 218 of file effectwindow.h.
|
read |
Returns whether the window is any of special windows types (desktop, dock, splash, ...), i.e. window types that usually don't have a window frame and the user does not use window management (moving, raising,...) on them.
Definition at line 213 of file effectwindow.h.
|
read |
Returns whether the window is a splashscreen. Note that many (especially older) applications do not support marking their splash windows with this type. See _NET_WM_WINDOW_TYPE_SPLASH at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 98 of file effectwindow.h.
|
read |
Returns whether the window is a standalone (detached) toolbar window. See _NET_WM_WINDOW_TYPE_TOOLBAR at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 76 of file effectwindow.h.
|
read |
Returns whether the window is a tooltip. See _NET_WM_WINDOW_TYPE_TOOLTIP at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 119 of file effectwindow.h.
|
read |
Whether this client is unresponsive.
When an application failed to react on a ping request in time, it is considered unresponsive. This usually indicates that the application froze or crashed.
Definition at line 269 of file effectwindow.h.
|
read |
Returns whether the window is a utility window, such as a tool window. See _NET_WM_WINDOW_TYPE_UTILITY at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 103 of file effectwindow.h.
|
read |
Whether the window is currently visible to the user, that is:
Definition at line 246 of file effectwindow.h.
|
read |
|
read |
Definition at line 53 of file effectwindow.h.
|
read |
Definition at line 60 of file effectwindow.h.
|
read |
Definition at line 61 of file effectwindow.h.
|
read |
Returns the NETWM window type See https://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
Definition at line 149 of file effectwindow.h.
|
read |
Definition at line 54 of file effectwindow.h.
|
read |
|
read |
Definition at line 55 of file effectwindow.h.