aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:18 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:18 +0100
commit7f0c64187b1d4fcd4afc1f13233aa5458d8235d9 (patch)
treebbd0c5903c866111d7d3db430cd7ef687c243f42
parent44fe55214dc92ea9118ad3e82175d861fbba80ad (diff)
downloaddotfiles-7f0c64187b1d4fcd4afc1f13233aa5458d8235d9.tar.gz
dotfiles-7f0c64187b1d4fcd4afc1f13233aa5458d8235d9.tar.bz2
dotfiles-7f0c64187b1d4fcd4afc1f13233aa5458d8235d9.zip
feat(sway): warp pointer to focused container
Pairs with focus_follows_mouse to prevent stale-hover focus-steal after keyboard navigation: the cursor jumps into the new focus so subsequent small mouse movements don't bounce focus back to where it used to be.
-rw-r--r--dot_config/sway/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config
index 78c6949..f88875b 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -33,6 +33,7 @@ input type:touchpad {
# ── Behavior ──────────────────────────────────────────────────────────────────
focus_follows_mouse yes
+mouse_warping container
seat * hide_cursor 3000
seat * xcursor_theme Adwaita 24