mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge pull request #1788 from AlexNabokikh/main
fix(hyprland): emit workspaceChanged signal when toplevels update #1436
This commit is contained in:
@@ -160,6 +160,7 @@ Item {
|
||||
function safeUpdate() {
|
||||
safeUpdateWindows();
|
||||
safeUpdateWorkspaces();
|
||||
workspaceChanged();
|
||||
windowListChanged();
|
||||
}
|
||||
|
||||
@@ -410,6 +411,7 @@ Item {
|
||||
enabled: initialized
|
||||
function onRawEvent(event) {
|
||||
Hyprland.refreshWorkspaces();
|
||||
Hyprland.refreshToplevels();
|
||||
safeUpdateWorkspaces();
|
||||
workspaceChanged();
|
||||
updateTimer.restart();
|
||||
|
||||
Reference in New Issue
Block a user