Connecting/disconnecting a monitor destroys persistent workspaces set by plugins #11400
-
My logs when disconnecting HDMI-A-2: persistent-workspaces.log. It should keep workspaces 1-10 persistent, but it destroys all workspaces except for the ones that weren't empty. 11-15 belong to HDMI-A-2 so they can be destroyed as the monitor is removed. This started happening after #11239 or the commit mentioned in this discussion: #11210 More info: zjeffer/split-monitor-workspaces#200. Apparently it also happens when locking/suspending the system. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
this is expected, the system now rechecks persistent workspaces every time the state might have changed. Check ccompositor::recheckpersistentworkspaces or something I am on phone and holiday |
Beta Was this translation helpful? Give feedback.
No, it's actually simpler than ever before.
It's really simple - just hold a SP to it in your plugin, that's it. Workspaces stay alive when they have a ref.