Mercurial > dwm-meillo
diff client.c @ 16:359b6e563b95
several changes, new stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 18:53:41 +0200 |
parents | 5c078b66347b |
children | 1efa34c6e1b6 |
line wrap: on
line diff
--- a/client.c Tue Jul 11 18:19:01 2006 +0200 +++ b/client.c Tue Jul 11 18:53:41 2006 +0200 @@ -35,6 +35,10 @@ } } XFree(name.value); + if(c == stack) + draw_bar(); + else + draw_client(c); } void @@ -66,6 +70,7 @@ 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;