mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
workspace switcher: fix apps icon won't re focus (#2830)
* fix(workspace): update delegate data on window focus change * fix(workspace): update delegate data handling specific for hyprland event
This commit is contained in:
@@ -2101,6 +2101,14 @@ Item {
|
||||
delegateRoot.updateAllData();
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: CompositorService.isHyprland ? Hyprland : null
|
||||
enabled: CompositorService.isHyprland
|
||||
function onRawEvent(event) {
|
||||
if (event.name === "activewindow" || event.name === "activewindowv2")
|
||||
delegateRoot.updateAllData();
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: I3.workspaces
|
||||
enabled: (CompositorService.isSway || CompositorService.isScroll || CompositorService.isMiracle)
|
||||
|
||||
Reference in New Issue
Block a user