sites

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

commit 6cb2088c5aa29cd384288f47d6ef6d6982bb5575
parent b7fbaa9aa7a498f2fd98b555dde9e08ccd22d892
Author: Matt Boswell <mordervomubel+gitlab@lockmail.us>
Date:   Fri, 22 Jan 2016 12:03:59 -0500

delete old unused/unlinked files

This should have been in my last commit, but I missed it.

Diffstat:
Ddwm.suckless.org/patches/dwm-git-20120406-push.diff | 65-----------------------------------------------------------------
Ddwm.suckless.org/patches/historical/push-5.3.c | 56--------------------------------------------------------
Ddwm.suckless.org/patches/historical/push-5.6.c | 58----------------------------------------------------------
Ddwm.suckless.org/patches/historical/push-5.7.1.c | 58----------------------------------------------------------
4 files changed, 0 insertions(+), 237 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-git-20120406-push.diff b/dwm.suckless.org/patches/dwm-git-20120406-push.diff @@ -1,65 +0,0 @@ -URL: http://dwm.suckless.org/patches/push -pushup and pushdown provide a way to move clients inside the clients list. - -diff -r 10e232f9ace7 push.c ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/push.c Fri Apr 06 08:16:39 2012 +0200 -@@ -0,0 +1,58 @@ -+static Client * -+prevtiled(Client *c) { -+ Client *p, *r; -+ -+ for(p = selmon->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 *sel = selmon->sel; -+ Client *c; -+ -+ if(!sel || sel->isfloating) -+ return; -+ if((c = prevtiled(sel))) { -+ /* attach before c */ -+ detach(sel); -+ sel->next = c; -+ if(selmon->clients == c) -+ selmon->clients = sel; -+ else { -+ for(c = selmon->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(selmon); -+} -+ -+static void -+pushdown(const Arg *arg) { -+ Client *sel = selmon->sel; -+ 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(selmon); -+} diff --git a/dwm.suckless.org/patches/historical/push-5.3.c b/dwm.suckless.org/patches/historical/push-5.3.c @@ -1,56 +0,0 @@ -static Client * -prevtiled(Client *c) { - Client *p, *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; - - 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; - - 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/dwm.suckless.org/patches/historical/push-5.6.c b/dwm.suckless.org/patches/historical/push-5.6.c @@ -1,58 +0,0 @@ -static Client * -prevtiled(Client *c) { - Client *p, *r; - - for(p = selmon->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 *sel = selmon->sel; - Client *c; - - if(!sel || sel->isfloating) - return; - if((c = prevtiled(sel))) { - /* attach before c */ - detach(sel); - sel->next = c; - if(selmon->clients == c) - selmon->clients = sel; - else { - for(c = selmon->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 *sel = selmon->sel; - 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(); -} diff --git a/dwm.suckless.org/patches/historical/push-5.7.1.c b/dwm.suckless.org/patches/historical/push-5.7.1.c @@ -1,58 +0,0 @@ -static Client * -prevtiled(Client *c) { - Client *p, *r; - - for(p = selmon->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 *sel = selmon->sel; - Client *c; - - if(!sel || sel->isfloating) - return; - if((c = prevtiled(sel))) { - /* attach before c */ - detach(sel); - sel->next = c; - if(selmon->clients == c) - selmon->clients = sel; - else { - for(c = selmon->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(selmon); -} - -static void -pushdown(const Arg *arg) { - Client *sel = selmon->sel; - 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(selmon); -}