summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client.c b/client.c
index 9ef7cc4..4d4c0a8 100644
--- a/client.c
+++ b/client.c
@@ -18,6 +18,7 @@ attachstack(Client *c) {
18static void 18static void
19detachstack(Client *c) { 19detachstack(Client *c) {
20 Client **tc; 20 Client **tc;
21
21 for(tc=&stack; *tc && *tc != c; tc=&(*tc)->snext); 22 for(tc=&stack; *tc && *tc != c; tc=&(*tc)->snext);
22 *tc = c->snext; 23 *tc = c->snext;
23} 24}
@@ -77,6 +78,7 @@ isprotodel(Client *c) {
77static void 78static void
78setclientstate(Client *c, long state) { 79setclientstate(Client *c, long state) {
79 long data[] = {state, None}; 80 long data[] = {state, None};
81
80 XChangeProperty(dpy, c->win, wmatom[WMState], wmatom[WMState], 32, 82 XChangeProperty(dpy, c->win, wmatom[WMState], wmatom[WMState], 32,
81 PropModeReplace, (unsigned char *)data, 2); 83 PropModeReplace, (unsigned char *)data, 2);
82} 84}
@@ -444,7 +446,6 @@ zoom(Arg *arg) {
444 } 446 }
445 for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) 447 for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
446 n++; 448 n++;
447
448 if((c = sel) == nexttiled(clients)) 449 if((c = sel) == nexttiled(clients))
449 if(!(c = nexttiled(c->next))) 450 if(!(c = nexttiled(c->next)))
450 return; 451 return;