diff options
| author | d <diegoswipe99@gmail.com> | 2025-06-21 20:31:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 12:31:15 +1000 |
| commit | bca98e5357d1038c7271274253977baa4a2b2e5b (patch) | |
| tree | e25bfd763182cfcbfce69661b1257d5fe56451a1 | |
| parent | winfo: add no active client placeholders (diff) | |
| download | caelestia-shell-bca98e5357d1038c7271274253977baa4a2b2e5b.tar.gz caelestia-shell-bca98e5357d1038c7271274253977baa4a2b2e5b.tar.bz2 caelestia-shell-bca98e5357d1038c7271274253977baa4a2b2e5b.zip | |
picker: fix multimonitor (#127)
Fixes #121
| -rw-r--r-- | modules/areapicker/Picker.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/areapicker/Picker.qml b/modules/areapicker/Picker.qml index 256085d..31aec02 100644 --- a/modules/areapicker/Picker.qml +++ b/modules/areapicker/Picker.qml @@ -77,7 +77,7 @@ MouseArea { if (closeAnim.running) return; - Quickshell.execDetached(["sh", "-c", `grim -l 0 -g '${Math.ceil(rsx)},${Math.ceil(rsy)} ${Math.floor(sw)}x${Math.floor(sh)}' - | swappy -f -`]); + Quickshell.execDetached(["sh", "-c", `grim -l 0 -g '${screen.x + Math.ceil(rsx)},${screen.y + Math.ceil(rsy)} ${Math.floor(sw)}x${Math.floor(sh)}' - | swappy -f -`]); closeAnim.start(); } |