[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Wed, 16 Jun 2010 03:04:08 +0000 (UTC)

changeset: 560:2890afcfa4c1
tag: tip
user: Andrew Antle <andrew_AT_antlechrist.org>
date: Tue Jun 15 23:02:51 2010 -0400
files: dwm.suckless.org/patches/attachaside-5.6.1.diff dwm.suckless.org/patches/attachaside.md dwm.suckless.org/patches/dwm-5.6.1-attachaside.diff dwm.suckless.org/patches/dwm-5.7.2-attachaside.diff dwm.suckless.org/patches/dwm-attachaside-5.7.2.diff
description:
Standardized naming of attachaside patches. Cleaned up page.


diff -r 76d8061f0b33 -r 2890afcfa4c1 dwm.suckless.org/patches/attachaside-5.6.1.diff
--- a/dwm.suckless.org/patches/attachaside-5.6.1.diff Tue Jun 15 22:51:47 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
_AT_@ -1,38 +0,0 @@
-diff -r 9f79d36bd5e0 dwm.c
---- a/dwm.c Tue Sep 08 13:33:58 2009 +0100
-+++ b/dwm.c Tue Sep 15 14:19:26 2009 +0200
-_AT_@ -153,6 +153,7 @@
- static Bool applysizehints(Client *c, int *x, int *y, int *w, int *h, Bool interact);
- static void arrange(void);
- static void attach(Client *c);
-+static void attachaside(Client *c);
- static void attachstack(Client *c);
- static void buttonpress(XEvent *e);
- static void checkotherwm(void);
-_AT_@ -397,6 +398,17 @@
- }
-
- void
-+attachaside(Client *c) {
-+ Client *at = nexttiled(c->mon->clients);;
-+ if(c->mon->sel == NULL || c->mon->sel->isfloating || !at) {
-+ attach(c);
-+ return;
-+ }
-+ c->next = at->next;
-+ at->next = c;
-+}
-+
-+void
- attachstack(Client *c) {
- c->snext = c->mon->stack;
- c->mon->stack = c;
-_AT_@ -1105,7 +1117,7 @@
- c->isfloating = trans != None || c->isfixed;
- if(c->isfloating)
- XRaiseWindow(dpy, c->win);
-- attach(c);
-+ attachaside(c);
- attachstack(c);
- XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */
- XMapWindow(dpy, c->win);
diff -r 76d8061f0b33 -r 2890afcfa4c1 dwm.suckless.org/patches/attachaside.md
--- a/dwm.suckless.org/patches/attachaside.md Tue Jun 15 22:51:47 2010 -0400
+++ b/dwm.suckless.org/patches/attachaside.md Tue Jun 15 23:02:51 2010 -0400
_AT_@ -1,12 +1,11 @@
-# ATTACHASIDE
+ATTACHASIDE
+===========
 
-## Description
-
-Make new client get attached and focused in the stacking area instead of
-always becoming the new master.
-Basically an attachabove mod.
-
-## Example
+Description
+-----------
+`attachaside` makes the new client get attached and focused in the stacking
+area instead of always becoming the new master. It's basically an
+[attachabove](attachabove) mod.
 
         Original behaviour :
         +-----------------+-------+
_AT_@ -42,11 +41,11 @@
         | | |
         +-----------------+-------+
 
-## Download
+Download
+--------
+* [dwm-5.7.2-attachaside.diff](dwm-5.7.2-attachaside.diff) (1.1K) (20091215)
+* [dwm-6.6.1-attachaside.diff](dwm-5.6.1-attachaside.diff) (1.1K) (20090915)
 
- * [attachaside-5.6.1.diff](attachaside-5.6.1.diff) (1.1K) (20090915)
- * [dwm-attachaside-5.7-2.diff](dwm-attachaside-5.7.2.diff) (1.1K) (20091215)
-
-## Author
-
- * Jerome Andrieux - <jerome_AT_gcu.info>
+Author
+------
+* Jerome Andrieux - `<jerome at gcu dot info>`
diff -r 76d8061f0b33 -r 2890afcfa4c1 dwm.suckless.org/patches/dwm-5.6.1-attachaside.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-5.6.1-attachaside.diff Tue Jun 15 23:02:51 2010 -0400
_AT_@ -0,0 +1,38 @@
+diff -r 9f79d36bd5e0 dwm.c
+--- a/dwm.c Tue Sep 08 13:33:58 2009 +0100
++++ b/dwm.c Tue Sep 15 14:19:26 2009 +0200
+_AT_@ -153,6 +153,7 @@
+ static Bool applysizehints(Client *c, int *x, int *y, int *w, int *h, Bool interact);
+ static void arrange(void);
+ static void attach(Client *c);
++static void attachaside(Client *c);
+ static void attachstack(Client *c);
+ static void buttonpress(XEvent *e);
+ static void checkotherwm(void);
+_AT_@ -397,6 +398,17 @@
+ }
+
+ void
++attachaside(Client *c) {
++ Client *at = nexttiled(c->mon->clients);;
++ if(c->mon->sel == NULL || c->mon->sel->isfloating || !at) {
++ attach(c);
++ return;
++ }
++ c->next = at->next;
++ at->next = c;
++}
++
++void
+ attachstack(Client *c) {
+ c->snext = c->mon->stack;
+ c->mon->stack = c;
+_AT_@ -1105,7 +1117,7 @@
+ c->isfloating = trans != None || c->isfixed;
+ if(c->isfloating)
+ XRaiseWindow(dpy, c->win);
+- attach(c);
++ attachaside(c);
+ attachstack(c);
+ XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */
+ XMapWindow(dpy, c->win);
diff -r 76d8061f0b33 -r 2890afcfa4c1 dwm.suckless.org/patches/dwm-5.7.2-attachaside.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-5.7.2-attachaside.diff Tue Jun 15 23:02:51 2010 -0400
_AT_@ -0,0 +1,38 @@
+diff -r 9f79d36bd5e0 dwm.c
+--- a/dwm.c Tue Sep 08 13:33:58 2009 +0100
++++ b/dwm.c Tue Sep 15 14:19:26 2009 +0200
+_AT_@ -153,6 +153,7 @@
+ static Bool applysizehints(Client *c, int *x, int *y, int *w, int *h, Bool interact);
+ static void arrange(void);
+ static void attach(Client *c);
++static void attachaside(Client *c);
+ static void attachstack(Client *c);
+ static void buttonpress(XEvent *e);
+ static void checkotherwm(void);
+_AT_@ -397,6 +398,17 @@
+ }
+
+ void
++attachaside(Client *c) {
++ Client *at = nexttiled(c->mon->clients);;
++ if(c->mon->sel == NULL || c->mon->sel->isfloating || !at) {
++ attach(c);
++ return;
++ }
++ c->next = at->next;
++ at->next = c;
++}
++
++void
+ attachstack(Client *c) {
+ c->snext = c->mon->stack;
+ c->mon->stack = c;
+_AT_@ -1105,7 +1117,7 @@
+ c->isfloating = trans != None || c->isfixed;
+ if(c->isfloating)
+ XRaiseWindow(dpy, c->win);
+- attach(c);
++ attachaside(c);
+ attachstack(c);
+ XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */
+ XMapWindow(dpy, c->win);
diff -r 76d8061f0b33 -r 2890afcfa4c1 dwm.suckless.org/patches/dwm-attachaside-5.7.2.diff
--- a/dwm.suckless.org/patches/dwm-attachaside-5.7.2.diff Tue Jun 15 22:51:47 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
_AT_@ -1,38 +0,0 @@
-diff -r 9f79d36bd5e0 dwm.c
---- a/dwm.c Tue Sep 08 13:33:58 2009 +0100
-+++ b/dwm.c Tue Sep 15 14:19:26 2009 +0200
-_AT_@ -153,6 +153,7 @@
- static Bool applysizehints(Client *c, int *x, int *y, int *w, int *h, Bool interact);
- static void arrange(void);
- static void attach(Client *c);
-+static void attachaside(Client *c);
- static void attachstack(Client *c);
- static void buttonpress(XEvent *e);
- static void checkotherwm(void);
-_AT_@ -397,6 +398,17 @@
- }
-
- void
-+attachaside(Client *c) {
-+ Client *at = nexttiled(c->mon->clients);;
-+ if(c->mon->sel == NULL || c->mon->sel->isfloating || !at) {
-+ attach(c);
-+ return;
-+ }
-+ c->next = at->next;
-+ at->next = c;
-+}
-+
-+void
- attachstack(Client *c) {
- c->snext = c->mon->stack;
- c->mon->stack = c;
-_AT_@ -1105,7 +1117,7 @@
- c->isfloating = trans != None || c->isfixed;
- if(c->isfloating)
- XRaiseWindow(dpy, c->win);
-- attach(c);
-+ attachaside(c);
- attachstack(c);
- XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */
- XMapWindow(dpy, c->win);
Received on Wed Jun 16 2010 - 05:04:08 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:19 CEST