summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authord <diegoswipe99@gmail.com>2025-06-21 20:31:15 -0600
committerGitHub <noreply@github.com>2025-06-22 12:31:15 +1000
commitbca98e5357d1038c7271274253977baa4a2b2e5b (patch)
treee25bfd763182cfcbfce69661b1257d5fe56451a1 /modules
parentwinfo: add no active client placeholders (diff)
downloadcaelestia-shell-bca98e5357d1038c7271274253977baa4a2b2e5b.tar.gz
caelestia-shell-bca98e5357d1038c7271274253977baa4a2b2e5b.tar.bz2
caelestia-shell-bca98e5357d1038c7271274253977baa4a2b2e5b.zip
picker: fix multimonitor (#127)
Fixes #121
Diffstat (limited to 'modules')
-rw-r--r--modules/areapicker/Picker.qml2
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();
}