Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorProtocol::OutputSettleRow Struct Reference

One window in the effect's output-settle report, sent when a screen change settles that added or removed an output or deferred a crossing: (ssssbiiiiiiiiiiibbbbssiiibiiii). More...

#include <PhosphorProtocol/WindowTypes.h>

Public Member Functions

QRect geometry () const
QRect baseline () const
bool stateEqualsS0 () const
 Whether the window's KWin state now equals S0 (false without one).
QString validationError () const

Public Attributes

QString windowId
QString outputUuid
 KWin's uuid of the output the window is on now (moveResizeOutput).
QString screenId
 The PlasmaZones physical id of that output.
QString sourceScreenId
 The PlasmaZones physical id of the output it was on when the debounce began.
bool sourceConnected = true
 Whether that output is still connected.
int x = 0
int y = 0
int width = 0
int height = 0
 moveResizeGeometry now
int baseX = 0
int baseY = 0
int baseWidth = 0
int baseHeight = 0
 the frame when the debounce began
int moveResizeCount = 0
 interactiveMoveResizeCount now
int maximizeMode = 0
int quickTileMode = 0
bool fullscreen = false
bool kwinOnly = true
 Only KWin moved it: no interactive move or resize since the baseline.
bool placeableNow = true
 On the desktop its own output shows and the current activity, and not minimized.
bool hasS0 = false
 The fields below carry S0, the state when its output went away.
QString s0Uuid
QString s0ScreenId
int s0MoveResizeCount = 0
int s0MaximizeMode = 0
int s0QuickTileMode = 0
bool s0Fullscreen = false
int s0X = 0
int s0Y = 0
int s0Width = 0
int s0Height = 0

Detailed Description

One window in the effect's output-settle report, sent when a screen change settles that added or removed an output or deferred a crossing: (ssssbiiiiiiiiiiibbbbssiiibiiii).

What KWin did to the window since the debounce began, and the state it had before an output it was on went away (S0), which the daemon compares to tell a window KWin returned untouched from one the user touched.

Member Function Documentation

◆ baseline()

QRect PhosphorProtocol::OutputSettleRow::baseline ( ) const
inline

◆ geometry()

QRect PhosphorProtocol::OutputSettleRow::geometry ( ) const
inline

◆ stateEqualsS0()

bool PhosphorProtocol::OutputSettleRow::stateEqualsS0 ( ) const
inline

Whether the window's KWin state now equals S0 (false without one).

◆ validationError()

QString PhosphorProtocol::OutputSettleRow::validationError ( ) const
inline

Member Data Documentation

◆ baseHeight

int PhosphorProtocol::OutputSettleRow::baseHeight = 0

the frame when the debounce began

◆ baseWidth

int PhosphorProtocol::OutputSettleRow::baseWidth = 0

◆ baseX

int PhosphorProtocol::OutputSettleRow::baseX = 0

◆ baseY

int PhosphorProtocol::OutputSettleRow::baseY = 0

◆ fullscreen

bool PhosphorProtocol::OutputSettleRow::fullscreen = false

◆ hasS0

bool PhosphorProtocol::OutputSettleRow::hasS0 = false

The fields below carry S0, the state when its output went away.

◆ height

int PhosphorProtocol::OutputSettleRow::height = 0

moveResizeGeometry now

◆ kwinOnly

bool PhosphorProtocol::OutputSettleRow::kwinOnly = true

Only KWin moved it: no interactive move or resize since the baseline.

A keyboard or window-menu Move to Screen is the user's too, so the effect must not report one as this (F1009).

◆ maximizeMode

int PhosphorProtocol::OutputSettleRow::maximizeMode = 0

◆ moveResizeCount

int PhosphorProtocol::OutputSettleRow::moveResizeCount = 0

interactiveMoveResizeCount now

◆ outputUuid

QString PhosphorProtocol::OutputSettleRow::outputUuid

KWin's uuid of the output the window is on now (moveResizeOutput).

◆ placeableNow

bool PhosphorProtocol::OutputSettleRow::placeableNow = true

On the desktop its own output shows and the current activity, and not minimized.

◆ quickTileMode

int PhosphorProtocol::OutputSettleRow::quickTileMode = 0

◆ s0Fullscreen

bool PhosphorProtocol::OutputSettleRow::s0Fullscreen = false

◆ s0Height

int PhosphorProtocol::OutputSettleRow::s0Height = 0

◆ s0MaximizeMode

int PhosphorProtocol::OutputSettleRow::s0MaximizeMode = 0

◆ s0MoveResizeCount

int PhosphorProtocol::OutputSettleRow::s0MoveResizeCount = 0

◆ s0QuickTileMode

int PhosphorProtocol::OutputSettleRow::s0QuickTileMode = 0

◆ s0ScreenId

QString PhosphorProtocol::OutputSettleRow::s0ScreenId

◆ s0Uuid

QString PhosphorProtocol::OutputSettleRow::s0Uuid

◆ s0Width

int PhosphorProtocol::OutputSettleRow::s0Width = 0

◆ s0X

int PhosphorProtocol::OutputSettleRow::s0X = 0

◆ s0Y

int PhosphorProtocol::OutputSettleRow::s0Y = 0

◆ screenId

QString PhosphorProtocol::OutputSettleRow::screenId

The PlasmaZones physical id of that output.

◆ sourceConnected

bool PhosphorProtocol::OutputSettleRow::sourceConnected = true

Whether that output is still connected.

◆ sourceScreenId

QString PhosphorProtocol::OutputSettleRow::sourceScreenId

The PlasmaZones physical id of the output it was on when the debounce began.

◆ width

int PhosphorProtocol::OutputSettleRow::width = 0

◆ windowId

QString PhosphorProtocol::OutputSettleRow::windowId

◆ x

int PhosphorProtocol::OutputSettleRow::x = 0

◆ y

int PhosphorProtocol::OutputSettleRow::y = 0

The documentation for this struct was generated from the following file: