summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:57:02 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:57:02 +0200
commit47765f728614c348aa7dfc2eed6f754efc376922 (patch)
tree47f8667ef723767ec41df2403bdce1ee80dccd17 /client.c
parentprepared merging layout.c and tag.c into screen.c (diff)
downloaddwm-47765f728614c348aa7dfc2eed6f754efc376922.tar.gz
dwm-47765f728614c348aa7dfc2eed6f754efc376922.zip
added screen.c, removed layout.c and tag.c
Diffstat (limited to '')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index d94c0ed..9f46a0e 100644
--- a/client.c
+++ b/client.c
@@ -182,7 +182,7 @@ killclient(const char *arg) {
182} 182}
183 183
184Bool 184Bool
185loadprops(Client *c) { 185getprops(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
320void 320void
321saveprops(Client *c) { 321setprops(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++)