aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-25 16:14:19 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-25 16:14:19 +0200
commit974562be881c86b0367519a3c3705c8257c71eac (patch)
tree0c95e9cc043f8900e51950cf2845d7c46ebefae2
parentupdate (diff)
downloaddwm-974562be881c86b0367519a3c3705c8257c71eac.tar.gz
dwm-974562be881c86b0367519a3c3705c8257c71eac.tar.bz2
dwm-974562be881c86b0367519a3c3705c8257c71eac.tar.xz
dwm-974562be881c86b0367519a3c3705c8257c71eac.tar.zst
dwm-974562be881c86b0367519a3c3705c8257c71eac.zip
up
-rw-r--r--cancelled/dwm-6.2-tagintostack-onemaster.diff (renamed from applied/dwm-6.2-tagintostack-onemaster.diff)0
-rw-r--r--dwm.c9
2 files changed, 0 insertions, 9 deletions
diff --git a/applied/dwm-6.2-tagintostack-onemaster.diff b/cancelled/dwm-6.2-tagintostack-onemaster.diff
index 18fa42b..18fa42b 100644
--- a/applied/dwm-6.2-tagintostack-onemaster.diff
+++ b/cancelled/dwm-6.2-tagintostack-onemaster.diff
diff --git a/dwm.c b/dwm.c
index 65e29b7..4bd377b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2012,15 +2012,6 @@ toggleview(const Arg *arg)
unsigned int newtagset = selmon->tagset[selmon->seltags] ^ (arg->ui & TAGMASK);
int i;
- // the first visible client should be the same after we add a new tag
- // we also want to be sure not to mutate the focus
- Client *const c = nexttiled(selmon->clients);
- if (c) {
- Client * const selected = selmon->sel;
- pop(c);
- focus(selected);
- }
-
if (newtagset) {
selmon->tagset[selmon->seltags] = newtagset;