wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 45e132648194665532f9e9598baf45c01b49f956
parent 85ec4d748026bc3111d530aad07262f2c03957fb
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Mon, 13 Mar 2006 10:09:37 +0100

reparent only on manage_client and destroy_client ;)


Diffstat:
cmd/wm/client.c | 2++
cmd/wm/tag.c | 1-
config.mk | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmd/wm/client.c b/cmd/wm/client.c @@ -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)); diff --git a/cmd/wm/tag.c b/cmd/wm/tag.c @@ -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); diff --git a/config.mk b/config.mk @@ -8,7 +8,7 @@ MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib -VERSION = 3-current +VERSION = 20060313 # includes and libs LIBS = -L${PREFIX}/lib -L/usr/lib -lc -lm -L${X11LIB} -lX11