From d6e0e6e9879c144f5d374fca0c015fd6208fc27e Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 11 Jul 2006 18:53:41 +0200 Subject: several changes, new stuff --- client.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client.c') diff --git a/client.c b/client.c index f87fb80..9407f0a 100644 --- a/client.c +++ b/client.c @@ -35,6 +35,10 @@ update_name(Client *c) } } XFree(name.value); + if(c == stack) + draw_bar(); + else + draw_client(c); } void @@ -66,6 +70,7 @@ manage(Window w, XWindowAttributes *wa) c->r[RFloat].height = wa->height; c->border = wa->border_width; XSetWindowBorderWidth(dpy, c->win, 0); + XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | EnterWindowMask); XGetTransientForHint(dpy, c->win, &c->trans); if(!XGetWMNormalHints(dpy, c->win, &c->size, &msize) || !c->size.flags) c->size.flags = PSize; -- cgit v1.2.3