fix(workspace): more defer Workspace compositor signal handlers with Qt.callLater to avoid SIGSEGV

This commit is contained in:
Lemmy
2026-03-11 20:25:17 -04:00
parent 84229bc744
commit 039be7d851
+3 -3
View File
@@ -293,18 +293,18 @@ Item {
Connections {
target: CompositorService
function onWorkspacesChanged() {
refreshWorkspaces();
Qt.callLater(refreshWorkspaces);
}
function onWindowListChanged() {
if (appVisible || showLabelsOnlyWhenOccupied) {
root.windowRevision++;
refreshWorkspaces();
Qt.callLater(refreshWorkspaces);
}
}
function onActiveWindowChanged() {
if (appVisible) {
root.windowRevision++;
refreshWorkspaces();
Qt.callLater(refreshWorkspaces);
}
}
}