diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/bar/popouts/ActiveWindow.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/popouts/ActiveWindow.qml b/modules/bar/popouts/ActiveWindow.qml index 03130f1..e256792 100644 --- a/modules/bar/popouts/ActiveWindow.qml +++ b/modules/bar/popouts/ActiveWindow.qml @@ -58,7 +58,7 @@ Item { ScreencopyView { id: preview - captureSource: ToplevelManager.toplevels.values.find(t => t.title === Hyprland.activeClient?.title) ?? null + captureSource: Hyprland.activeClient ? ToplevelManager.activeToplevel : null live: visible constraintSize.width: Config.bar.sizes.windowPreviewSize |