[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Wed, 16 Dec 2009 18:18:07 +0000 (UTC)

changeset: 409:f054b5295c03
user: Jérôme Andrieux <jerome.andrieux_AT_gmail.com>
date: Wed Dec 16 19:07:09 2009 +0100
files: dwm.suckless.org/patches/dwm-attachaside-5.7.2.diff dwm.suckless.org/patches/dwm-gap-5.6.2.diff
description:
Patches added : attachaside and gap


diff -r 2682be8db32f -r f054b5295c03 dwm.suckless.org/patches/dwm-attachaside-5.7.2.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-attachaside-5.7.2.diff Wed Dec 16 19:07:09 2009 +0100
_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 2682be8db32f -r f054b5295c03 dwm.suckless.org/patches/dwm-gap-5.6.2.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-gap-5.6.2.diff Wed Dec 16 19:07:09 2009 +0100
_AT_@ -0,0 +1,23 @@
+--- a/dwm.c 2009-09-17 10:48:57.000000000 +0200
++++ b/dwm.c 2009-09-16 18:54:37.000000000 +0200
+_AT_@ -1270,10 +1270,10 @@
+ XWindowChanges wc;
+
+ if(applysizehints(c, &x, &y, &w, &h, interact)) {
+- c->x = wc.x = x;
+- c->y = wc.y = y;
+- c->w = wc.width = w;
+- c->h = wc.height = h;
++ c->x = wc.x = x + gappx;
++ c->y = wc.y = y + gappx;
++ c->w = wc.width = w - 2 * gappx ;
++ c->h = wc.height = h - 2 * gappx ;
+ wc.border_width = c->bw;
+ XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
+ configure(c);
+
+diff -r 72e52c5333ef config.def.h
+--- a/config.def.h Wed Nov 25 13:56:17 2009 +0000
++++ b/config.def.h Tue Dec 15 18:39:44 2009 +0100
+_AT_@ -7,14 +7,15 @@
++static const unsigned int gappx = 4; /* gap pixel between windows */

changeset: 410:0ba58f8ab7e6
user: Jérôme Andrieux <jerome.andrieux_AT_gmail.com>
date: Wed Dec 16 19:07:44 2009 +0100
files: dwm.suckless.org/patches/dwm-gap-5.6.2.diff dwm.suckless.org/patches/dwm-gap-5.7.2.diff
description:
Patches added : attachaside and gap


diff -r f054b5295c03 -r 0ba58f8ab7e6 dwm.suckless.org/patches/dwm-gap-5.6.2.diff
--- a/dwm.suckless.org/patches/dwm-gap-5.6.2.diff Wed Dec 16 19:07:09 2009 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
_AT_@ -1,23 +0,0 @@
---- a/dwm.c 2009-09-17 10:48:57.000000000 +0200
-+++ b/dwm.c 2009-09-16 18:54:37.000000000 +0200
-_AT_@ -1270,10 +1270,10 @@
- XWindowChanges wc;
-
- if(applysizehints(c, &x, &y, &w, &h, interact)) {
-- c->x = wc.x = x;
-- c->y = wc.y = y;
-- c->w = wc.width = w;
-- c->h = wc.height = h;
-+ c->x = wc.x = x + gappx;
-+ c->y = wc.y = y + gappx;
-+ c->w = wc.width = w - 2 * gappx ;
-+ c->h = wc.height = h - 2 * gappx ;
- wc.border_width = c->bw;
- XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
- configure(c);
-
-diff -r 72e52c5333ef config.def.h
---- a/config.def.h Wed Nov 25 13:56:17 2009 +0000
-+++ b/config.def.h Tue Dec 15 18:39:44 2009 +0100
-_AT_@ -7,14 +7,15 @@
-+static const unsigned int gappx = 4; /* gap pixel between windows */
diff -r f054b5295c03 -r 0ba58f8ab7e6 dwm.suckless.org/patches/dwm-gap-5.7.2.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-gap-5.7.2.diff Wed Dec 16 19:07:44 2009 +0100
_AT_@ -0,0 +1,23 @@
+--- a/dwm.c 2009-09-17 10:48:57.000000000 +0200
++++ b/dwm.c 2009-09-16 18:54:37.000000000 +0200
+_AT_@ -1270,10 +1270,10 @@
+ XWindowChanges wc;
+
+ if(applysizehints(c, &x, &y, &w, &h, interact)) {
+- c->x = wc.x = x;
+- c->y = wc.y = y;
+- c->w = wc.width = w;
+- c->h = wc.height = h;
++ c->x = wc.x = x + gappx;
++ c->y = wc.y = y + gappx;
++ c->w = wc.width = w - 2 * gappx ;
++ c->h = wc.height = h - 2 * gappx ;
+ wc.border_width = c->bw;
+ XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
+ configure(c);
+
+diff -r 72e52c5333ef config.def.h
+--- a/config.def.h Wed Nov 25 13:56:17 2009 +0000
++++ b/config.def.h Tue Dec 15 18:39:44 2009 +0100
+_AT_@ -7,14 +7,15 @@
++static const unsigned int gappx = 4; /* gap pixel between windows */

changeset: 411:8599e374b6eb
tag: tip
user: Jérôme Andrieux <jerome.andrieux_AT_gmail.com>
date: Wed Dec 16 19:17:54 2009 +0100
files: dwm.suckless.org/patches/attachaside.md dwm.suckless.org/patches/uselessgap.md
description:
added description for useless gap patch


diff -r 0ba58f8ab7e6 -r 8599e374b6eb dwm.suckless.org/patches/attachaside.md
--- a/dwm.suckless.org/patches/attachaside.md Wed Dec 16 19:07:44 2009 +0100
+++ b/dwm.suckless.org/patches/attachaside.md Wed Dec 16 19:17:54 2009 +0100
_AT_@ -45,6 +45,7 @@
 ## Download
 
  * [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
 
diff -r 0ba58f8ab7e6 -r 8599e374b6eb dwm.suckless.org/patches/uselessgap.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/uselessgap.md Wed Dec 16 19:17:54 2009 +0100
_AT_@ -0,0 +1,41 @@
+# USELESS GAP
+
+## Description
+
+This patch adds useless gap between windows, for aesthetic purpose.
+I happen to find it easier on the eyes ...
+The size of the gap is configured in config.def.h.
+
+## Example
+
+ Original look :
+ +-----------------+-------+
+ | | |
+ | | |
+ | | |
+ | +-------|
+ | | |
+ | | |
+ | | |
+ +-----------------+-------+
+
+
+ New look :
+ +----------------++-------+
+ | || |
+ | || N |
+ | || |
+ | |+-------+
+ | |+-------+
+ | || |
+ | || |
+ | || |
+ +----------------++-------+
+
+## Download
+
+ * [dwm-gap-5.7.2.diff](dwm-gap-5.7.2.diff) (0.7K) (20091215)
+
+## Author
+
+ * Jerome Andrieux - <jerome_AT_gcu.info>
Received on Wed Dec 16 2009 - 19:18:07 CET

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