From ff68fe5d70e50cb0b091fe23a213ef0315016d34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= <me@rgoncalves.se>
Date: Wed, 15 Dec 2021 21:28:29 +0100
Subject: config.h: Only warp when switching screens

---
 dwm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dwm.c b/dwm.c
index e0d2f45..164a4ba 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1380,8 +1380,6 @@ restack(Monitor *m)
 	}
 	XSync(dpy, False);
 	while (XCheckMaskEvent(dpy, EnterWindowMask, &ev));
-	if (m == selmon && (m->tagset[m->seltags] & m->sel->tags) && selmon->lt[selmon->sellt] != &layouts[2])
-		warp(m->sel);
 }
 
 void
-- 
cgit v1.2.3