summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.mk2
-rw-r--r--dwm.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index bb55cfa..492f0f3 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
1# dwm version 1# dwm version
2VERSION = 5.7.1 2VERSION = 5.7.2
3 3
4# Customize below to fit your system 4# Customize below to fit your system
5 5
diff --git a/dwm.c b/dwm.c
index b3a389d..32755cb 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1449,10 +1449,9 @@ void
1449setlayout(const Arg *arg) { 1449setlayout(const Arg *arg) {
1450 if(!arg || !arg->v || arg->v != selmon->lt[selmon->sellt]) 1450 if(!arg || !arg->v || arg->v != selmon->lt[selmon->sellt])
1451 selmon->sellt ^= 1; 1451 selmon->sellt ^= 1;
1452 if(arg && arg->v) { 1452 if(arg && arg->v)
1453 selmon->lt[selmon->sellt] = (Layout *)arg->v; 1453 selmon->lt[selmon->sellt] = (Layout *)arg->v;
1454 strncpy(selmon->ltsymbol, selmon->lt[selmon->sellt]->symbol, sizeof selmon->ltsymbol); 1454 strncpy(selmon->ltsymbol, selmon->lt[selmon->sellt]->symbol, sizeof selmon->ltsymbol);
1455 }
1456 if(selmon->sel) 1455 if(selmon->sel)
1457 arrange(selmon); 1456 arrange(selmon);
1458 else 1457 else