mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-01 19:18: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();
|
delegateRoot.updateAllData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Connections {
|
||||||
|
target: CompositorService.isHyprland ? Hyprland : null
|
||||||
|
enabled: CompositorService.isHyprland
|
||||||
|
function onRawEvent(event) {
|
||||||
|
if (event.name === "activewindow" || event.name === "activewindowv2")
|
||||||
|
delegateRoot.updateAllData();
|
||||||
|
}
|
||||||
|
}
|
||||||
Connections {
|
Connections {
|
||||||
target: I3.workspaces
|
target: I3.workspaces
|
||||||
enabled: (CompositorService.isSway || CompositorService.isScroll || CompositorService.isMiracle)
|
enabled: (CompositorService.isSway || CompositorService.isScroll || CompositorService.isMiracle)
|
||||||
|
|||||||
Reference in New Issue
Block a user