fixed _DWM_CONFIG persistation, fixed the client disapperance bug during restarts
This commit is contained in:
parent
10d13f01ff
commit
feec92df84
1 changed files with 5 additions and 5 deletions
6
tag.c
6
tag.c
|
@ -144,7 +144,6 @@ tag(const char *arg) {
|
||||||
i = arg ? atoi(arg) : 0;
|
i = arg ? atoi(arg) : 0;
|
||||||
if(i >= 0 && i < ntags)
|
if(i >= 0 && i < ntags)
|
||||||
sel->tags[i] = True;
|
sel->tags[i] = True;
|
||||||
if(sel)
|
|
||||||
persistconfig(sel);
|
persistconfig(sel);
|
||||||
arrange();
|
arrange();
|
||||||
}
|
}
|
||||||
|
@ -154,8 +153,10 @@ togglefloating(const char *arg) {
|
||||||
if(!sel || isfloating())
|
if(!sel || isfloating())
|
||||||
return;
|
return;
|
||||||
sel->isfloating = !sel->isfloating;
|
sel->isfloating = !sel->isfloating;
|
||||||
if(sel->isfloating)
|
if(sel->isfloating) {
|
||||||
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
|
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
|
||||||
|
persistconfig(sel);
|
||||||
|
}
|
||||||
arrange();
|
arrange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,7 +171,6 @@ toggletag(const char *arg) {
|
||||||
for(j = 0; j < ntags && !sel->tags[j]; j++);
|
for(j = 0; j < ntags && !sel->tags[j]; j++);
|
||||||
if(j == ntags)
|
if(j == ntags)
|
||||||
sel->tags[i] = True;
|
sel->tags[i] = True;
|
||||||
if(sel)
|
|
||||||
persistconfig(sel);
|
persistconfig(sel);
|
||||||
arrange();
|
arrange();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue