popouts: fix activewindow screencopy
This commit is contained in:
parent
746f41da16
commit
ee0f243ca3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue