sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit c4dd263e9e637cbe02dea6841bebfd2666a1362c
parent f18b1bcf0cecd23aba4c37fd55545ec2012f313d
Author: Dimitrios Papastamos <stateless [at] archlinux.us>
Date:   Thu, 21 May 2009 11:47:58 -0700

Removed invalid link.
Diffstat:
Mdwm.suckless.org/patches/push-5.3.c | 84++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mwww.suckless.org/common/project_ideas.md | 2+-
2 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/dwm.suckless.org/patches/push-5.3.c b/dwm.suckless.org/patches/push-5.3.c @@ -1,56 +1,56 @@ static Client * prevtiled(Client *c) { - Client *p, *r; + Client *p, *r; - for(p = clients, r = NULL; p && p != c; p = p->next) - if(!p->isfloating && ISVISIBLE(p)) - r = p; - return r; + for (p = clients, r = NULL; p && p != c; p = p->next) + if (!p->isfloating && ISVISIBLE(p)) + r = p; + return r; } static void pushup(const Arg *arg) { - Client *c; + Client *c; - if(!sel || sel->isfloating) - return; - if((c = prevtiled(sel))) { - /* attach before c */ - detach(sel); - sel->next = c; - if(clients == c) - clients = sel; - else { - for(c = clients; c->next != sel->next; c = c->next); - c->next = sel; - } - } else { - /* move to the end */ - for(c = sel; c->next; c = c->next); - detach(sel); - sel->next = NULL; - c->next = sel; - } - focus(sel); - arrange(); + if (!sel || sel->isfloating) + return; + if ((c = prevtiled(sel))) { + /* attach before c */ + detach(sel); + sel->next = c; + if (clients == c) + clients = sel; + else { + for (c = clients; c->next != sel->next; c = c->next); + c->next = sel; + } + } else { + /* move to the end */ + for (c = sel; c->next; c = c->next); + detach(sel); + sel->next = NULL; + c->next = sel; + } + focus(sel); + arrange(); } static void pushdown(const Arg *arg) { - Client *c; + Client *c; - if(!sel || sel->isfloating) - return; - if((c = nexttiled(sel->next))) { - /* attach after c */ - detach(sel); - sel->next = c->next; - c->next = sel; - } else { - /* move to the front */ - detach(sel); - attach(sel); - } - focus(sel); - arrange(); + if (!sel || sel->isfloating) + return; + if ((c = nexttiled(sel->next))) { + /* attach after c */ + detach(sel); + sel->next = c->next; + c->next = sel; + } else { + /* move to the front */ + detach(sel); + attach(sel); + } + focus(sel); + arrange(); } diff --git a/www.suckless.org/common/project_ideas.md b/www.suckless.org/common/project_ideas.md @@ -113,7 +113,7 @@ Request System) and IRS (Incident Response System) all together. We'd like to see a lightweight and simple alternative to gnome-volume-manager and similar programs. -There's one such project already available at <http://github.com/dimigon/skvm/tree/master>. +There's one such project already available at <http://tools.suckless.org/skvm>. ***Requirements:*** Good C knowledge and knowledge of DBUS and similar techniques are essential.