Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
applied Ryan Zheng's patch and re-releasing 5.7.2
  • Loading branch information
garbeam committed Sep 27, 2009
1 parent c97fd65 commit 5069aa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.mk
@@ -1,5 +1,5 @@
# dwm version
VERSION = 5.7.1
VERSION = 5.7.2

# Customize below to fit your system

Expand Down
5 changes: 2 additions & 3 deletions dwm.c
Expand Up @@ -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
Expand Down

0 comments on commit 5069aa5

Please sign in to comment.