renamed updatesize into updatesizehints (thx to Sander for this hint)
ebd17e48
3 file(s) · +4 −4
| 156 | 156 | c->w = c->tw = wa->width; |
|
| 157 | 157 | c->h = wa->height; |
|
| 158 | 158 | c->th = bh; |
|
| 159 | - | updatesize(c); |
|
| 159 | + | updatesizehints(c); |
|
| 160 | 160 | if(c->x + c->w + 2 * BORDERPX > sw) |
|
| 161 | 161 | c->x = sw - c->w - 2 * BORDERPX; |
|
| 162 | 162 | if(c->x < sx) |
|
| 256 | 256 | } |
|
| 257 | 257 | ||
| 258 | 258 | void |
|
| 259 | - | updatesize(Client *c) { |
|
| 259 | + | updatesizehints(Client *c) { |
|
| 260 | 260 | long msize; |
|
| 261 | 261 | XSizeHints size; |
|
| 262 | 262 | ||
| 117 | 117 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
|
| 118 | 118 | extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ |
|
| 119 | 119 | extern void resizetitle(Client *c); /* resizes c->twin correctly */ |
|
| 120 | - | extern void updatesize(Client *c); /* update the size structs of c */ |
|
| 120 | + | extern void updatesizehints(Client *c); /* update the size struct of c */ |
|
| 121 | 121 | extern void updatetitle(Client *c); /* update the name of c */ |
|
| 122 | 122 | extern void unmanage(Client *c); /* destroy c */ |
|
| 123 | 123 |
| 314 | 314 | arrange(); |
|
| 315 | 315 | break; |
|
| 316 | 316 | case XA_WM_NORMAL_HINTS: |
|
| 317 | - | updatesize(c); |
|
| 317 | + | updatesizehints(c); |
|
| 318 | 318 | break; |
|
| 319 | 319 | } |
|
| 320 | 320 | if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { |