equal
deleted
inserted
replaced
39 } |
39 } |
40 |
40 |
41 static Client * |
41 static Client * |
42 nexttiled(Client *c) |
42 nexttiled(Client *c) |
43 { |
43 { |
44 for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); |
44 for(c = getnext(c); c && c->isfloat; c = getnext(c->next)); |
45 return c; |
45 return c; |
46 } |
46 } |
47 |
47 |
48 /* extern */ |
48 /* extern */ |
49 |
49 |
323 n++; |
323 n++; |
324 if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized) |
324 if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized) |
325 return; |
325 return; |
326 |
326 |
327 if((c = sel) == nexttiled(clients)) |
327 if((c = sel) == nexttiled(clients)) |
328 if(!(c = nexttiled(c))) |
328 if(!(c = nexttiled(c->next))) |
329 return; |
329 return; |
330 detach(c); |
330 detach(c); |
331 c->next = clients; |
331 c->next = clients; |
332 clients->prev = c; |
332 clients->prev = c; |
333 clients = c; |
333 clients = c; |