diff options
| author | Anselm R Garbe <anselm@garbe.us> | 2009-09-27 20:20:10 +0100 |
|---|---|---|
| committer | Anselm R Garbe <anselm@garbe.us> | 2009-09-27 20:20:10 +0100 |
| commit | 210378f19833c739f3d2e4acaca55fccb29c57f7 (patch) | |
| tree | e525e211defe565539c28b48b9e6f84f98b9e658 /dwm.c | |
| parent | Added tag 5.7.1 for changeset 48c3f87c335d (diff) | |
| download | dwm-210378f19833c739f3d2e4acaca55fccb29c57f7.tar.gz dwm-210378f19833c739f3d2e4acaca55fccb29c57f7.zip | |
applied Ryan Zheng's patch and re-releasing 5.7.2
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -1449,10 +1449,9 @@ void | |||
| 1449 | setlayout(const Arg *arg) { | 1449 | setlayout(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 |
