diff options
Diffstat (limited to '')
| -rw-r--r-- | client.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -182,7 +182,7 @@ killclient(const char *arg) { | |||
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | Bool | 184 | Bool |
| 185 | loadprops(Client *c) { | 185 | getprops(Client *c) { |
| 186 | unsigned int i; | 186 | unsigned int i; |
| 187 | Bool result = False; | 187 | Bool result = False; |
| 188 | 188 | ||
| @@ -242,11 +242,11 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 242 | if(t) | 242 | if(t) |
| 243 | for(i = 0; i < ntags; i++) | 243 | for(i = 0; i < ntags; i++) |
| 244 | c->tags[i] = t->tags[i]; | 244 | c->tags[i] = t->tags[i]; |
| 245 | if(!loadprops(c)) | 245 | if(!getprops(c)) |
| 246 | applyrules(c); | 246 | applyrules(c); |
| 247 | if(!c->isfloating) | 247 | if(!c->isfloating) |
| 248 | c->isfloating = (rettrans == Success) || c->isfixed; | 248 | c->isfloating = (rettrans == Success) || c->isfixed; |
| 249 | saveprops(c); | 249 | setprops(c); |
| 250 | attach(c); | 250 | attach(c); |
| 251 | attachstack(c); | 251 | attachstack(c); |
| 252 | XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ | 252 | XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ |
| @@ -318,7 +318,7 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) { | |||
| 318 | } | 318 | } |
| 319 | 319 | ||
| 320 | void | 320 | void |
| 321 | saveprops(Client *c) { | 321 | setprops(Client *c) { |
| 322 | unsigned int i; | 322 | unsigned int i; |
| 323 | 323 | ||
| 324 | for(i = 0; i < ntags && i < sizeof prop - 1; i++) | 324 | for(i = 0; i < ntags && i < sizeof prop - 1; i++) |
