# HG changeset patch # User Anselm R. Garbe # Date 1187199101 -7200 # Node ID 18381a2cda42b7cb220d3c80002b65d894cd0dcf # Parent d7de5c7bdbe4ced26ede4756afe092870d54cb2a fixed _DWM_CONFIG persistation, fixed the client disapperance bug during restarts diff -r d7de5c7bdbe4 -r 18381a2cda42 tag.c --- a/tag.c Wed Aug 15 19:27:32 2007 +0200 +++ b/tag.c Wed Aug 15 19:31:41 2007 +0200 @@ -144,8 +144,7 @@ i = arg ? atoi(arg) : 0; if(i >= 0 && i < ntags) sel->tags[i] = True; - if(sel) - persistconfig(sel); + persistconfig(sel); arrange(); } @@ -154,8 +153,10 @@ if(!sel || isfloating()) return; sel->isfloating = !sel->isfloating; - if(sel->isfloating) + if(sel->isfloating) { resize(sel, sel->x, sel->y, sel->w, sel->h, True); + persistconfig(sel); + } arrange(); } @@ -170,8 +171,7 @@ for(j = 0; j < ntags && !sel->tags[j]; j++); if(j == ntags) sel->tags[i] = True; - if(sel) - persistconfig(sel); + persistconfig(sel); arrange(); }