diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-01-26 14:40:42 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-01-26 14:40:42 +0000 |
| commit | 16aeb24bc1395b46d675ec3522ed452e487f5b69 (patch) | |
| tree | f9f8b11cc68a80bbccfaaee22dfb529e1d80f1aa /src/Compositor.hpp | |
| parent | 74d0f34cf396f4fc41ee98b000e7d0a4e277c066 (diff) | |
core: make persistent workspaces always follow the config
instead of just staying after open, they will now be enforced on their respective monitors
fixes #8769
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 295878df..e55d7e1e 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -15,6 +15,7 @@ #include <aquamarine/output/Output.hpp> class CWLSurfaceResource; +struct SWorkspaceRule; enum eManagersInitStage : uint8_t { STAGE_PRIORITY = 0, @@ -151,6 +152,7 @@ class CCompositor { void setPreferredTransformForSurface(SP<CWLSurfaceResource> pSurface, wl_output_transform transform); void updateSuspendedStates(); void onNewMonitor(SP<Aquamarine::IOutput> output); + void ensurePersistentWorkspacesPresent(const std::vector<SWorkspaceRule>& rules); SImageDescription getPreferredImageDescription(); bool shouldChangePreferredImageDescription(); |
