aurora6418b5f
aurora: overview drag moves the dragged window (fixes #3)
+2 −2
1 file changed
| @@ -26,8 +26,8 @@ Singleton { | |||
| 26 | 26 | // so focus the target first and then move the active one | |
| 27 | 27 | function moveWindow(a, ws) { | |
| 28 | 28 | if (luaSyntax) | |
| 29 | − | Quickshell.execDetached(["hyprctl", "--batch", | |
| 30 | − | 'dispatch hl.dsp.focus({window="address:' + addr(a) + '"}); dispatch hl.dsp.window.move({workspace=' + Number(ws) + '})']) | |
| 29 | + | Quickshell.execDetached(["hyprctl", "dispatch", | |
| 30 | + | 'hl.dsp.window.move({workspace=' + Number(ws) + ', follow=false, window="address:' + addr(a) + '"})']) | |
| 31 | 31 | else | |
| 32 | 32 | Quickshell.execDetached(["hyprctl", "dispatch", "movetoworkspacesilent", Number(ws) + ",address:" + addr(a)]) | |
| 33 | 33 | } | |