aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2020-08-10 15:04:58 +0200
committerOmar Polo <op@omarpolo.com>2020-08-10 15:04:58 +0200
commit7a79673a74433fe735a7c4fe9534f09d120130a6 (patch)
tree78ef288dd5152e29b49568cdac1e695bbf939ce5
parenta00060cdedaf7f6d8caf0f9e5d4972dd23c06b15 (diff)
downloaddwm-retake-7a79673a74433fe735a7c4fe9534f09d120130a6.tar.gz
dwm-retake-7a79673a74433fe735a7c4fe9534f09d120130a6.tar.bz2
trim
-rw-r--r--dwm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dwm.c b/dwm.c
index 64dccb1..46a35ce 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1195,7 +1195,7 @@ incnmaster(const Arg *arg)
for(i=0; i<LENGTH(tags); ++i)
if(selmon->tagset[selmon->seltags] & 1<<i)
selmon->pertag->nmasters[i+1] = selmon->nmaster;
-
+
if(selmon->pertag->curtag == 0)
{
selmon->pertag->nmasters[0] = selmon->nmaster;
@@ -1895,13 +1895,13 @@ setlayout(const Arg *arg)
for(i=0; i<LENGTH(tags); ++i)
if(selmon->tagset[selmon->seltags] & 1<<i)
{
- selmon->pertag->ltidxs[i+1][selmon->sellt] = selmon->lt[selmon->sellt];
+ selmon->pertag->ltidxs[i+1][selmon->sellt] = selmon->lt[selmon->sellt];
selmon->pertag->sellts[i+1] = selmon->sellt;
}
-
+
if(selmon->pertag->curtag == 0)
{
- selmon->pertag->ltidxs[0][selmon->sellt] = selmon->lt[selmon->sellt];
+ selmon->pertag->ltidxs[0][selmon->sellt] = selmon->lt[selmon->sellt];
selmon->pertag->sellts[0] = selmon->sellt;
}