summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-17 16:40:28 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-17 16:40:28 +1000
commitee0f243ca36cad45718424433254304d53059df8 (patch)
treefc9316a40cea5c574bfd552759b00d6be8f1ad84 /modules
parentfeat: impl variant launcher action (diff)
downloadcaelestia-shell-ee0f243ca36cad45718424433254304d53059df8.tar.gz
caelestia-shell-ee0f243ca36cad45718424433254304d53059df8.tar.bz2
caelestia-shell-ee0f243ca36cad45718424433254304d53059df8.zip
popouts: fix activewindow screencopy
Diffstat (limited to 'modules')
-rw-r--r--modules/bar/popouts/ActiveWindow.qml2
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