From 9c1c330452f2e0ce7524c1ceccf0a7f74983bb76 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Tue, 10 Oct 2023 12:53:26 +0200 Subject: [PATCH] sway: don't mouse warp --- modules/desktop/sway.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 9d0b8f1..ecadab0 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -78,7 +78,9 @@ }; focus = { # Don't automatically focus hovered windows - followMouse = "no"; + followMouse = false; + # Don't automatically move the mouse cursor when switching outputs + mouseWarping = false; }; gaps = { # Disable borders on workspaces with a single container