mirror of https://github.com/0intro/wmii
reparent only on manage_client and destroy_client ;)
This commit is contained in:
parent
85ec4d7480
commit
45e1326481
|
@ -321,6 +321,8 @@ manage_client(Client *c)
|
|||
else
|
||||
match_tags(c);
|
||||
|
||||
reparent_client(c, c->framewin, c->rect.x, c->rect.y);
|
||||
|
||||
t = ntag ? tag[sel] : alloc_tag(def.tag);
|
||||
if(c->tags[0] == 0)
|
||||
cext_strlcpy(c->tags, t->name, sizeof(c->tags));
|
||||
|
|
|
@ -295,7 +295,6 @@ attach_totag(Tag *t, Client *c)
|
|||
else
|
||||
a = t->area[t->sel];
|
||||
|
||||
reparent_client(c, c->framewin, c->rect.x, c->rect.y);
|
||||
attach_toarea(a, c);
|
||||
map_client(c);
|
||||
XMapWindow(dpy, c->framewin);
|
||||
|
|
Loading…
Reference in New Issue