diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 18:53:41 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 18:53:41 +0200 |
commit | d6e0e6e9879c144f5d374fca0c015fd6208fc27e (patch) | |
tree | 997db1276dc89c44361a56d80a66fb3722f8f2fe /client.c | |
parent | b1669b5c48f71c9a7a919dbf09a1af527c62f69a (diff) | |
download | dwm-d6e0e6e9879c144f5d374fca0c015fd6208fc27e.tar.gz |
several changes, new stuff
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |