commit 210378f19833c739f3d2e4acaca55fccb29c57f7 from: Anselm R Garbe date: Sun Sep 27 19:20:10 2009 UTC applied Ryan Zheng's patch and re-releasing 5.7.2 commit - 7879616a75948f7b713e56e51ca6461925be23b4 commit + 210378f19833c739f3d2e4acaca55fccb29c57f7 blob - bb55cfa1a3dd33e7f8fbb249bd476e440839e337 blob + 492f0f3124b0f6ed22af202eb5219132df7433b7 --- config.mk +++ config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 5.7.1 +VERSION = 5.7.2 # Customize below to fit your system blob - b3a389d6811ef993904252ed38502d531adfcf70 blob + 32755cb79a4df6755b79c2ab9d2140fe2729d7b3 --- dwm.c +++ 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