diff options
Diffstat (limited to '')
| -rw-r--r-- | client.c | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -35,6 +35,10 @@ update_name(Client *c) | |||
| 35 | } | 35 | } |
| 36 | } | 36 | } |
| 37 | XFree(name.value); | 37 | XFree(name.value); |
| 38 | if(c == stack) | ||
| 39 | draw_bar(); | ||
| 40 | else | ||
| 41 | draw_client(c); | ||
| 38 | } | 42 | } |
| 39 | 43 | ||
| 40 | void | 44 | void |
| @@ -66,6 +70,7 @@ manage(Window w, XWindowAttributes *wa) | |||
| 66 | c->r[RFloat].height = wa->height; | 70 | c->r[RFloat].height = wa->height; |
| 67 | c->border = wa->border_width; | 71 | c->border = wa->border_width; |
| 68 | XSetWindowBorderWidth(dpy, c->win, 0); | 72 | XSetWindowBorderWidth(dpy, c->win, 0); |
| 73 | XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | EnterWindowMask); | ||
| 69 | XGetTransientForHint(dpy, c->win, &c->trans); | 74 | XGetTransientForHint(dpy, c->win, &c->trans); |
| 70 | if(!XGetWMNormalHints(dpy, c->win, &c->size, &msize) || !c->size.flags) | 75 | if(!XGetWMNormalHints(dpy, c->win, &c->size, &msize) || !c->size.flags) |
| 71 | c->size.flags = PSize; | 76 | c->size.flags = PSize; |
