pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7879616
)
applied Ryan Zheng's patch and re-releasing 5.7.2
author
Anselm R Garbe
<anselm@garbe.us>
Sun, 27 Sep 2009 19:20:10 +0000
(20:20 +0100)
committer
Anselm R Garbe
<anselm@garbe.us>
Sun, 27 Sep 2009 19:20:10 +0000
(20:20 +0100)
config.mk
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
bb55cfa
..
492f0f3
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dwm version
-VERSION = 5.7.
1
+VERSION = 5.7.
2
# Customize below to fit your system
diff --git
a/dwm.c
b/dwm.c
index
b3a389d
..
32755cb
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1449,10
+1449,9
@@
void
setlayout(const Arg *arg) {
if(!arg || !arg->v || arg->v != selmon->lt[selmon->sellt])
selmon->sellt ^= 1;
- if(arg && arg->v)
{
+ if(arg && 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)
arrange(selmon);
else