The contexts the compositor last reported a window on, as far as the registry knows them, in KWin's current desktop numbering: a renumber moves the numbers of records not reported since (WindowRegistry::remapDesktops). More...
#include <PhosphorEngine/IWindowRegistry.h>
Public Member Functions | |
| std::optional< QSet< int > > | desktopSet () const |
| The desktops the window is on, or nullopt when it is on all of them or they are unknown: the full list for a window spanning several, else its one desktop. | |
Public Attributes | |
| int | virtualDesktop = 0 |
| 1-based x11 desktop; 0 = all desktops / unknown | |
| QList< int > | virtualDesktops |
| full list when the window spans several desktops | |
| std::optional< bool > | sticky |
| on all desktops; disengaged when never reported | |
| QString | activity |
| empty = all activities / unknown | |
| QStringList | activities {} |
| full list when on several activities; appended last (F426) | |
The contexts the compositor last reported a window on, as far as the registry knows them, in KWin's current desktop numbering: a renumber moves the numbers of records not reported since (WindowRegistry::remapDesktops).
A restore or membership decision reads this instead of the SCREEN's current desktop, which is not the window's when the window is being placed onto a background desktop.
|
inline |
The desktops the window is on, or nullopt when it is on all of them or they are unknown: the full list for a window spanning several, else its one desktop.
| QStringList PhosphorEngine::WindowDesktopContext::activities {} |
full list when on several activities; appended last (F426)
| QString PhosphorEngine::WindowDesktopContext::activity |
empty = all activities / unknown
| std::optional<bool> PhosphorEngine::WindowDesktopContext::sticky |
on all desktops; disengaged when never reported
| int PhosphorEngine::WindowDesktopContext::virtualDesktop = 0 |
1-based x11 desktop; 0 = all desktops / unknown
| QList<int> PhosphorEngine::WindowDesktopContext::virtualDesktops |
full list when the window spans several desktops