changeset: 99:a2af74ffd0a0
user: Dimitrios Papastamos <stateless [at] archlinux.us>
date: Thu May 21 11:47:58 2009 -0700
files: dwm.suckless.org/patches/push-5.3.c www.suckless.org/common/project_ideas.md
description:
Removed invalid link.
diff -r 55e5a1334c79 -r a2af74ffd0a0 dwm.suckless.org/patches/push-5.3.c
--- a/dwm.suckless.org/patches/push-5.3.c Thu May 21 00:25:16 2009 +0100
+++ b/dwm.suckless.org/patches/push-5.3.c Thu May 21 11:47:58 2009 -0700
@@ -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 -r 55e5a1334c79 -r a2af74ffd0a0 www.suckless.org/common/project_ideas.md
--- a/www.suckless.org/common/project_ideas.md Thu May 21 00:25:16 2009 +0100
+++ b/www.suckless.org/common/project_ideas.md Thu May 21 11:47:58 2009 -0700
@@ -113,7 +113,7 @@
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.
Received on Sun Aug 16 2009 - 10:54:07 UTC
This archive was generated by hypermail 2.2.0 : Sun Aug 16 2009 - 14:19:40 UTC