all repos — dwm @ feec92df8449f14836b8681f4e56f2afeea4faf6

my dwm build

fixed _DWM_CONFIG persistation, fixed the client disapperance bug during restarts
Anselm R. Garbe garbeam@gmail.com
Wed, 15 Aug 2007 19:31:41 +0200
commit

feec92df8449f14836b8681f4e56f2afeea4faf6

parent

10d13f01ff764ba0e875adf5d2b83c49aa08d148

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M tag.ctag.c

@@ -144,8 +144,7 @@ sel->tags[i] = arg == NULL;

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 @@ togglefloating(const char *arg) {

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 @@ sel->tags[i] = !sel->tags[i];

for(j = 0; j < ntags && !sel->tags[j]; j++); if(j == ntags) sel->tags[i] = True; - if(sel) - persistconfig(sel); + persistconfig(sel); arrange(); }