changeset: 574:55bda5ef085b
tag: tip
user: Stefan Mark <0mark_AT_unserver.de>
date: Sat Jul 03 10:34:30 2010 +0200
files: dwm.suckless.org/patches/autoresize.diff dwm.suckless.org/patches/autoresize.md dwm.suckless.org/patches/fancycoloredbarclickable.md dwm.suckless.org/patches/transparency.md
description:
new link, added autoresize patch
diff -r 30919de8bee4 -r 55bda5ef085b dwm.suckless.org/patches/autoresize.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/autoresize.diff Sat Jul 03 10:34:30 2010 +0200
_AT_@ -0,0 +1,35 @@
+diff -r 53d98940cb04 dwm.c
+--- a/dwm.c Fri Jun 04 11:41:16 2010 +0100
++++ b/dwm.c Sat Jul 03 10:31:22 2010 +0200
+_AT_@ -88,7 +88,7 @@
+ int basew, baseh, incw, inch, maxw, maxh, minw, minh;
+ int bw, oldbw;
+ unsigned int tags;
+- Bool isfixed, isfloating, isurgent, oldstate;
++ Bool isfixed, isfloating, isurgent, oldstate, needresize;
+ Client *next;
+ Client *snext;
+ Monitor *mon;
+_AT_@ -591,6 +591,8 @@
+ configure(c);
+ if(ISVISIBLE(c))
+ XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
++ else
++ c->needresize=1;
+ }
+ else
+ configure(c);
+_AT_@ -1576,7 +1578,12 @@
+ if(!c)
+ return;
+ if(ISVISIBLE(c)) { /* show clients top down */
+- XMoveWindow(dpy, c->win, c->x, c->y);
++ if(c->needresize) {
++ c->needresize=0;
++ XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
++ } else {
++ XMoveWindow(dpy, c->win, c->x, c->y);
++ }
+ if(!c->mon->lt[c->mon->sellt]->arrange || c->isfloating)
+ resize(c, c->x, c->y, c->w, c->h, False);
+ showhide(c->snext);
diff -r 30919de8bee4 -r 55bda5ef085b dwm.suckless.org/patches/autoresize.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/autoresize.md Sat Jul 03 10:34:30 2010 +0200
_AT_@ -0,0 +1,13 @@
+# autoresize
+
+## Description
+
+By default, windows that are not visible when requesting a resize/move wont get resized/moved. With this Patch, they do.
+
+## Download
+
+ * [autoresize.diff](autoresize.diff) autoresize.diff (07.03.2010)
+
+## Author
+
+ * Stefan Mark - <0mark_AT_unserver.de>
diff -r 30919de8bee4 -r 55bda5ef085b dwm.suckless.org/patches/fancycoloredbarclickable.md
--- a/dwm.suckless.org/patches/fancycoloredbarclickable.md Fri Jul 02 11:47:58 2010 -0700
+++ b/dwm.suckless.org/patches/fancycoloredbarclickable.md Sat Jul 03 10:34:30 2010 +0200
_AT_@ -15,7 +15,7 @@
## Download
- * [dwm-fancycoloredbarclickable.diff](
http://0mark.unserver.de/dwm-sprinkles/export/40/trunk/patches/dwm-fancycoloredbarclickable.diff) latest fancycoloredbarclickable patch
+ * [dwm-fancycoloredbarclickable.diff](
https://svn.0mark.unserver.de/dwm/trunk/patches/dwm-fancycoloredbarclickable.diff) latest fancycoloredbarclickable patch
## Glueer (for is is a patch of patches, im not really the author, but one who glued things together ;)
diff -r 30919de8bee4 -r 55bda5ef085b dwm.suckless.org/patches/transparency.md
--- a/dwm.suckless.org/patches/transparency.md Fri Jul 02 11:47:58 2010 -0700
+++ b/dwm.suckless.org/patches/transparency.md Sat Jul 03 10:34:30 2010 +0200
_AT_@ -8,7 +8,7 @@
## Download
- * [dwm-transparency.diff](
http://0mark.unserver.de/dwm-sprinkles/export/40/trunk/patches/dwm-transparency.diff) latest transparency patch
+ * [dwm-transparency.diff](
https://svn.0mark.unserver.de/dwm/trunk/patches/dwm-transparency.diff) latest transparency patch
## Author
Received on Sat Jul 03 2010 - 10:39:12 CEST