From ee0f243ca36cad45718424433254304d53059df8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 17 Jun 2025 16:40:28 +1000 Subject: popouts: fix activewindow screencopy --- modules/bar/popouts/ActiveWindow.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3-freya