applied Ryan Zheng's patch and re-releasing 5.7.2
This commit is contained in:
parent
7879616a75
commit
210378f198
2 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
# dwm version
|
# dwm version
|
||||||
VERSION = 5.7.1
|
VERSION = 5.7.2
|
||||||
|
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
|
3
dwm.c
3
dwm.c
|
@ -1449,10 +1449,9 @@ void
|
||||||
setlayout(const Arg *arg) {
|
setlayout(const Arg *arg) {
|
||||||
if(!arg || !arg->v || arg->v != selmon->lt[selmon->sellt])
|
if(!arg || !arg->v || arg->v != selmon->lt[selmon->sellt])
|
||||||
selmon->sellt ^= 1;
|
selmon->sellt ^= 1;
|
||||||
if(arg && arg->v) {
|
if(arg && arg->v)
|
||||||
selmon->lt[selmon->sellt] = (Layout *)arg->v;
|
selmon->lt[selmon->sellt] = (Layout *)arg->v;
|
||||||
strncpy(selmon->ltsymbol, selmon->lt[selmon->sellt]->symbol, sizeof selmon->ltsymbol);
|
strncpy(selmon->ltsymbol, selmon->lt[selmon->sellt]->symbol, sizeof selmon->ltsymbol);
|
||||||
}
|
|
||||||
if(selmon->sel)
|
if(selmon->sel)
|
||||||
arrange(selmon);
|
arrange(selmon);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue