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
|
else
|
||||||
match_tags(c);
|
match_tags(c);
|
||||||
|
|
||||||
|
reparent_client(c, c->framewin, c->rect.x, c->rect.y);
|
||||||
|
|
||||||
t = ntag ? tag[sel] : alloc_tag(def.tag);
|
t = ntag ? tag[sel] : alloc_tag(def.tag);
|
||||||
if(c->tags[0] == 0)
|
if(c->tags[0] == 0)
|
||||||
cext_strlcpy(c->tags, t->name, sizeof(c->tags));
|
cext_strlcpy(c->tags, t->name, sizeof(c->tags));
|
||||||
|
|
|
@ -295,7 +295,6 @@ attach_totag(Tag *t, Client *c)
|
||||||
else
|
else
|
||||||
a = t->area[t->sel];
|
a = t->area[t->sel];
|
||||||
|
|
||||||
reparent_client(c, c->framewin, c->rect.x, c->rect.y);
|
|
||||||
attach_toarea(a, c);
|
attach_toarea(a, c);
|
||||||
map_client(c);
|
map_client(c);
|
||||||
XMapWindow(dpy, c->framewin);
|
XMapWindow(dpy, c->framewin);
|
||||||
|
|
|
@ -8,7 +8,7 @@ MANPREFIX = ${PREFIX}/share/man
|
||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/X11R6/include
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/X11R6/lib
|
||||||
|
|
||||||
VERSION = 3-current
|
VERSION = 20060313
|
||||||
|
|
||||||
# includes and libs
|
# includes and libs
|
||||||
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -lm -L${X11LIB} -lX11
|
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -lm -L${X11LIB} -lX11
|
||||||
|
|
Loading…
Reference in New Issue