KWin
|
#include <layershellv1window.h>
Public Member Functions | |
LayerShellV1Window (LayerSurfaceV1Interface *shellSurface, Output *output, LayerShellV1Integration *integration) | |
LayerSurfaceV1Interface * | shellSurface () const |
Output * | desiredOutput () const |
NET::WindowType | windowType () const override |
bool | isPlaceable () const override |
bool | isCloseable () const override |
bool | isMovable () const override |
bool | isMovableAcrossScreens () const override |
bool | isResizable () const override |
bool | takeFocus () override |
bool | wantsInput () const override |
bool | dockWantsInput () const override |
StrutRect | strutRect (StrutArea area) const override |
bool | hasStrut () const override |
void | destroyWindow () override |
void | closeWindow () override |
void | setVirtualKeyboardGeometry (const QRectF &geo) override |
void | showOnScreenEdge () override |
void | installAutoHideScreenEdgeV1 (AutoHideScreenEdgeV1Interface *edge) |
![]() | |
WaylandWindow (SurfaceInterface *surface) | |
QString | captionNormal () const override |
QString | captionSuffix () const override |
pid_t | pid () const override |
bool | isClient () const override |
bool | isLockScreen () const override |
bool | isLocalhost () const override |
Window * | findModal (bool allow_itself=false) override |
QRectF | resizeWithChecks (const QRectF &geometry, const QSizeF &size) override |
void | killWindow () override |
QString | windowRole () const override |
virtual QRectF | frameRectToBufferRect (const QRectF &rect) const |
void | setCaption (const QString &caption) |
![]() | |
~Window () override | |
void | ref () |
void | unref () |
QRectF | moveResizeGeometry () const |
Output * | moveResizeOutput () const |
void | setMoveResizeOutput (Output *output) |
QRectF | bufferGeometry () const |
QRectF | frameGeometry () const |
QRectF | clientGeometry () const |
QMargins | frameMargins () const |
virtual QSizeF | minSize () const |
virtual QSizeF | maxSize () const |
QSizeF | size () const |
QPointF | pos () const |
QRectF | rect () const |
qreal | x () const |
qreal | y () const |
qreal | width () const |
qreal | height () const |
bool | isOnOutput (Output *output) const |
bool | isOnActiveOutput () const |
Output * | output () const |
void | setOutput (Output *output) |
QSizeF | clientSize () const |
QRectF | visibleGeometry () const |
QPointF | mapToFrame (const QPointF &point) const |
QPointF | mapToLocal (const QPointF &point) const |
QPointF | mapFromLocal (const QPointF &point) const |
virtual QPointF | framePosToClientPos (const QPointF &point) const |
virtual QPointF | clientPosToFramePos (const QPointF &point) const |
virtual QSizeF | frameSizeToClientSize (const QSizeF &size) const |
virtual QSizeF | clientSizeToFrameSize (const QSizeF &size) const |
QRectF | frameRectToClientRect (const QRectF &rect) const |
QRectF | clientRectToFrameRect (const QRectF &rect) const |
virtual QSizeF | constrainClientSize (const QSizeF &size, SizeMode mode=SizeModeAny) const |
QSizeF | constrainFrameSize (const QSizeF &size, SizeMode mode=SizeModeAny) const |
void | move (const QPointF &point) |
void | resize (const QSizeF &size) |
void | moveResize (const QRectF &rect) |
void | growHorizontal () |
void | shrinkHorizontal () |
void | growVertical () |
void | shrinkVertical () |
void | keepInArea (QRectF area, bool partial=false) |
QRectF | keepInArea (QRectF geometry, QRectF area, bool partial=false) |
bool | hasNETSupport () const |
bool | isDesktop () const |
bool | isDock () const |
bool | isToolbar () const |
bool | isMenu () const |
bool | isNormalWindow () 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 |
virtual bool | isInputMethod () const |
virtual bool | isOutline () const |
virtual bool | isInternal () const |
virtual bool | isPopupWindow () const |
bool | isDeleted () const |
virtual bool | isUnmanaged () const |
bool | isLockScreenOverlay () const |
void | setLockScreenOverlay (bool allowed) |
QStringList | desktopIds () const |
QList< VirtualDesktop * > | desktops () const |
void | setDesktops (QList< VirtualDesktop * > desktops) |
void | enterDesktop (VirtualDesktop *desktop) |
void | leaveDesktop (VirtualDesktop *desktop) |
bool | isOnDesktop (VirtualDesktop *desktop) const |
bool | isOnCurrentDesktop () const |
bool | isOnAllDesktops () const |
void | setOnAllDesktops (bool set) |
virtual QStringList | activities () const |
bool | isOnActivity (const QString &activity) const |
bool | isOnCurrentActivity () const |
bool | isOnAllActivities () const |
void | setOnActivity (const QString &activity, bool enable) |
void | setOnActivities (const QStringList &newActivitiesList) |
void | setOnAllActivities (bool all) |
virtual void | updateActivities (bool includeTransients) |
void | blockActivityUpdates (bool b=true) |
virtual void | checkActivities () |
QString | resourceName () const |
QString | resourceClass () const |
QString | wmClientMachine (bool use_localhost) const |
ClientMachine * | clientMachine () const |
bool | readyForPainting () const |
void | setOpacity (qreal opacity) |
qreal | opacity () const |
virtual bool | setupCompositing () |
virtual void | finishCompositing () |
EffectWindow * | effectWindow () |
const EffectWindow * | effectWindow () const |
SurfaceItem * | surfaceItem () const |
WindowItem * | windowItem () const |
void | elevate (bool elevate) |
Shadow * | shadow () const |
void | updateShadow () |
bool | wantsShadowToBeRendered () const |
bool | skipsCloseAnimation () const |
void | setSkipCloseAnimation (bool set) |
SurfaceInterface * | surface () const |
void | setSurface (SurfaceInterface *surface) |
QMatrix4x4 | inputTransformation () const |
virtual bool | hitTest (const QPointF &point) const |
virtual bool | hasPopupGrab () const |
virtual void | popupDone () |
QUuid | internalId () const |
int | stackingOrder () const |
void | setStackingOrder (int order) |
bool | skipSwitcher () const |
void | setSkipSwitcher (bool set) |
bool | skipTaskbar () const |
void | setSkipTaskbar (bool set) |
void | setOriginalSkipTaskbar (bool set) |
bool | originalSkipTaskbar () const |
bool | skipPager () const |
void | setSkipPager (bool set) |
const QIcon & | icon () const |
bool | isActive () const |
void | setActive (bool) |
bool | keepAbove () const |
void | setKeepAbove (bool) |
bool | keepBelow () const |
void | setKeepBelow (bool) |
void | demandAttention (bool set=true) |
bool | isDemandingAttention () const |
void | cancelAutoRaise () |
virtual void | updateMouseGrab () |
QString | caption () const |
bool | isShown () const |
bool | isHidden () const |
void | setHidden (bool hidden) |
bool | isHiddenByShowDesktop () const |
void | setHiddenByShowDesktop (bool hidden) |
virtual bool | isTransient () const |
virtual bool | hasTransientPlacementHint () const |
virtual QRectF | transientPlacement () const |
const Window * | transientFor () const |
Window * | transientFor () |
void | setTransientFor (Window *transientFor) |
virtual bool | hasTransient (const Window *transient, bool indirect) const |
const QList< Window * > & | transients () const |
virtual void | addTransient (Window *transient) |
virtual void | removeTransient (Window *transient) |
void | removeTransientFromList (Window *cl) |
virtual QList< Window * > | mainWindows () const |
QList< Window * > | allMainWindows () const |
bool | isSpecialWindow () const |
void | sendToOutput (Output *output) |
const QKeySequence & | shortcut () const |
void | setShortcut (const QString &cut) |
virtual QRectF | iconGeometry () const |
void | setMinimized (bool set) |
bool | isMinimized () const |
virtual bool | isMinimizable () const |
bool | isSuspended () const |
void | setSuspended (bool suspended) |
QRectF | fullscreenGeometryRestore () const |
virtual bool | isFullScreenable () const |
virtual bool | isFullScreen () const |
virtual bool | isRequestedFullScreen () const |
virtual void | setFullScreen (bool set) |
bool | wantsAdaptiveSync () const |
QRectF | geometryRestore () const |
virtual bool | isMaximizable () const |
virtual MaximizeMode | maximizeMode () const |
virtual MaximizeMode | requestedMaximizeMode () const |
virtual void | maximize (MaximizeMode mode) |
Q_INVOKABLE void | setMaximize (bool vertically, bool horizontally) |
QPalette | palette () |
const Decoration::DecorationPalette * | decorationPalette () |
bool | isShade () const |
ShadeMode | shadeMode () const |
void | setShade (bool set) |
void | setShade (ShadeMode mode) |
void | toggleShade () |
void | cancelShadeHoverTimer () |
virtual bool | isShadeable () const |
const WindowRules * | rules () const |
void | removeRule (Rules *r) |
void | setupWindowRules () |
void | finishWindowRules () |
void | evaluateWindowRules () |
virtual void | updateWindowRules (Rules::Types selection) |
virtual void | applyWindowRules () |
virtual bool | supportsWindowRules () const |
bool | wantsTabFocus () const |
void | checkWorkspacePosition (QRectF oldGeometry=QRectF(), const VirtualDesktop *oldDesktop=nullptr) |
virtual xcb_timestamp_t | userTime () const |
void | keyPressEvent (uint key_code) |
virtual void | pointerEnterEvent (const QPointF &globalPos) |
virtual void | pointerLeaveEvent () |
void | packTo (qreal left, qreal top) |
Tile * | tile () const |
void | setTile (Tile *tile) |
void | setQuickTileMode (QuickTileMode mode, bool keyboard=false) |
QuickTileMode | quickTileMode () const |
Layer | layer () const |
void | updateLayer () |
bool | isInteractiveMove () const |
bool | isInteractiveResize () const |
CursorShape | cursor () const |
uint32_t | interactiveMoveResizeCount () const |
void | updateInteractiveMoveResize (const QPointF ¤tGlobalCursor) |
void | endInteractiveMoveResize () |
StrutRects | strutRects () const |
void | setModal (bool modal) |
bool | isModal () const |
Options::MouseCommand | getMouseCommand (Qt::MouseButton button, bool *handled) const |
Options::MouseCommand | getWheelCommand (Qt::Orientation orientation, bool *handled) const |
bool | performMouseCommand (Options::MouseCommand, const QPointF &globalPos) |
Qt::Edge | titlebarPosition () const |
bool | titlebarPositionUnderMouse () const |
KDecoration2::Decoration * | decoration () |
const KDecoration2::Decoration * | decoration () const |
bool | isDecorated () const |
Decoration::DecoratedClientImpl * | decoratedClient () const |
void | setDecoratedClient (Decoration::DecoratedClientImpl *client) |
bool | decorationHasAlpha () const |
void | triggerDecorationRepaint () |
void | layoutDecorationRects (QRectF &left, QRectF &top, QRectF &right, QRectF &bottom) const |
void | processDecorationMove (const QPointF &localPos, const QPointF &globalPos) |
bool | processDecorationButtonPress (QMouseEvent *event, bool ignoreMenu=false) |
void | processDecorationButtonRelease (QMouseEvent *event) |
virtual void | invalidateDecoration () |
virtual bool | noBorder () const |
virtual void | setNoBorder (bool set) |
virtual bool | userCanSetNoBorder () const |
virtual void | checkNoBorder () |
virtual bool | providesContextHelp () const |
virtual void | showContextHelp () |
QRectF | virtualKeyboardGeometry () const |
QString | desktopFileName () const |
bool | hasApplicationMenu () const |
bool | applicationMenuActive () const |
void | setApplicationMenuActive (bool applicationMenuActive) |
QString | applicationMenuServiceName () const |
QString | applicationMenuObjectPath () const |
void | showApplicationMenu (int actionId) |
virtual QString | preferredColorScheme () const |
QString | colorScheme () const |
void | setColorScheme (const QString &colorScheme) |
bool | unresponsive () const |
virtual bool | groupTransient () const |
virtual const Group * | group () const |
virtual Group * | group () |
PlasmaWindowInterface * | windowManagementInterface () const |
void | setLastUsageSerial (quint32 serial) |
quint32 | lastUsageSerial () const |
void | refOffscreenRendering () |
void | unrefOffscreenRendering () |
Definition at line 19 of file layershellv1window.h.
|
explicit |
Definition at line 37 of file layershellv1window.cpp.
|
overrideprotectedvirtual |
Whether the window accepts focus. The difference to wantsInput is that the implementation should not check rules and return what the window effectively supports.
Implements KWin::Window.
Definition at line 219 of file layershellv1window.cpp.
|
overrideprotectedvirtual |
Reimplemented from KWin::Window.
Definition at line 203 of file layershellv1window.cpp.
|
overridevirtual |
Implements KWin::Window.
Definition at line 198 of file layershellv1window.cpp.
Output * KWin::LayerShellV1Window::desiredOutput | ( | ) | const |
Definition at line 86 of file layershellv1window.cpp.
|
overridevirtual |
Implements KWin::Window.
Definition at line 179 of file layershellv1window.cpp.
|
overridevirtual |
Whether a dock window wants input.
By default KWin doesn't pass focus to a dock window unless a force activate request is provided.
This method allows to have dock windows take focus also through flags set on the window.
The default implementation returns false
.
Reimplemented from KWin::Window.
Definition at line 139 of file layershellv1window.cpp.
|
overridevirtual |
Reimplemented from KWin::Window.
Definition at line 174 of file layershellv1window.cpp.
void KWin::LayerShellV1Window::installAutoHideScreenEdgeV1 | ( | AutoHideScreenEdgeV1Interface * | edge | ) |
Definition at line 303 of file layershellv1window.cpp.
|
overridevirtual |
Implements KWin::Window.
Definition at line 106 of file layershellv1window.cpp.
|
overridevirtual |
Returns whether the window is moveable or has a fixed position.
Implements KWin::Window.
Definition at line 111 of file layershellv1window.cpp.
|
overridevirtual |
Returns whether the window can be moved to another screen.
Implements KWin::Window.
Definition at line 116 of file layershellv1window.cpp.
|
overridevirtual |
Reimplemented from KWin::Window.
Definition at line 101 of file layershellv1window.cpp.
|
overridevirtual |
Returns whether the window is resizable or has a fixed size.
Implements KWin::Window.
Definition at line 121 of file layershellv1window.cpp.
|
overrideprotectedvirtual |
Implements KWin::Window.
Definition at line 224 of file layershellv1window.cpp.
|
overridevirtual |
Sets the geometry of the virtual keyboard, The window may resize itself in order to make space for the keybaord This geometry is in global coordinates
Reimplemented from KWin::Window.
Definition at line 286 of file layershellv1window.cpp.
LayerSurfaceV1Interface * KWin::LayerShellV1Window::shellSurface | ( | ) | const |
Definition at line 81 of file layershellv1window.cpp.
|
overridevirtual |
Restores the Window after it had been hidden due to show on screen edge functionality. The Window also gets raised (e.g. Panel mode windows can cover) and the Window gets informed in a window specific way that it is shown and raised again.
Reimplemented from KWin::Window.
Definition at line 296 of file layershellv1window.cpp.
Reimplemented from KWin::Window.
Definition at line 144 of file layershellv1window.cpp.
|
overridevirtual |
Implements KWin::Window.
Definition at line 126 of file layershellv1window.cpp.
|
overridevirtual |
Implements KWin::Window.
Definition at line 134 of file layershellv1window.cpp.
|
overridevirtual |
Implements KWin::Window.
Definition at line 96 of file layershellv1window.cpp.