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/helpers/Monitor.cpp | |
| 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/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 1f00e4ad..6fcaeeee 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -51,6 +51,8 @@ void CMonitor::onConnect(bool noRule) { EMIT_HOOK_EVENT("preMonitorAdded", self.lock()); CScopeGuard x = {[]() { g_pCompositor->arrangeMonitors(); }}; + g_pEventLoopManager->doLater([] { g_pConfigManager->ensurePersistentWorkspacesPresent(); }); + if (output->supportsExplicit) { inTimeline = CSyncTimeline::create(output->getBackend()->drmFD()); outTimeline = CSyncTimeline::create(output->getBackend()->drmFD()); |
