diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-24 16:16:46 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-24 16:16:52 +0100 |
| commit | 608eff600d31879519aa64b795b45709ebfac267 (patch) | |
| tree | 10279d23e8c41e29ca91f91c83b386bb3cb2abca /src/desktop/Window.hpp | |
| parent | 81bb4eb2f6e385431dab0ae664bb59f35c8c069e (diff) | |
tokens: add more modes to initial_workspace_tracking
1 is single-shot, 2 is persistent
fixes #5732
Diffstat (limited to 'src/desktop/Window.hpp')
| -rw-r--r-- | src/desktop/Window.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index cc4d1757..7b298552 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -14,6 +14,8 @@ #include "DesktopTypes.hpp" #include "../helpers/signal/Signal.hpp" +class CWindow; + enum eIdleInhibitMode { IDLEINHIBIT_NONE = 0, IDLEINHIBIT_ALWAYS, @@ -188,6 +190,11 @@ struct SWindowRule { std::string szWorkspace = ""; // empty means any }; +struct SInitialWorkspaceToken { + CWindow* primaryOwner = nullptr; + std::string workspace; +}; + class CWindow { public: CWindow(); |
