From 942268c949978076d67f2a3b1bfaa94ec72849d6 Mon Sep 17 00:00:00 2001
From: Jens Nolte <jens@nightmarestudio.de>
Date: Tue, 26 May 2020 22:17:10 +0200
Subject: [PATCH] sway: focus_follows_mouse always

---
 home-profiles/desktop/.config/sway/config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/home-profiles/desktop/.config/sway/config b/home-profiles/desktop/.config/sway/config
index be6eaf0..4d1b6c2 100644
--- a/home-profiles/desktop/.config/sway/config
+++ b/home-profiles/desktop/.config/sway/config
@@ -84,6 +84,9 @@ hide_edge_borders both
 smart_gaps off
 #gaps inner 10
 
+# The window under the cursor will always be focused, even after switching between workspaces.
+focus_follows_mouse always
+
 #for_window [class="Chromium"] border none
 #for_window [class="Code"] border none
 
-- 
GitLab