mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
NiriService: update workspaces on window closed/open/changed (#1502)
This commit is contained in:
@@ -328,6 +328,7 @@ Item {
|
||||
}
|
||||
|
||||
windowListChanged();
|
||||
updateWorkspaces();
|
||||
} catch (e) {
|
||||
Logger.e("NiriService", "Error handling WindowOpenedOrChanged:", e);
|
||||
}
|
||||
@@ -348,6 +349,7 @@ Item {
|
||||
|
||||
windows.splice(windowIndex, 1);
|
||||
windowListChanged();
|
||||
updateWorkspaces();
|
||||
}
|
||||
} catch (e) {
|
||||
Logger.e("NiriService", "Error handling WindowClosed:", e);
|
||||
|
||||
Reference in New Issue
Block a user