changeset: 472:76dff921f7ae
parent: 470:95eae60090bb
user: Jerome Andrieux <jerome_AT_gcu.info>
date: Thu Mar 11 16:33:24 2010 +0100
files: dwm.suckless.org/patches/dwm-uselessgap-5.8.diff
description:
Updated useless gap patch : 5.8, floating client bug fixed and removes border&gap in monocle mode BIS
diff -r 95eae60090bb -r 76dff921f7ae dwm.suckless.org/patches/dwm-uselessgap-5.8.diff
--- a/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff Tue Mar 09 08:10:10 2010 +0100
+++ b/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff Thu Mar 11 16:33:24 2010 +0100
_AT_@ -1,6 +1,6 @@
diff -r 72e52c5333ef config.def.h
--- a/config.def.h Wed Nov 25 13:56:17 2009 +0000
-+++ b/config.def.h Tue Mar 09 07:58:46 2010 +0100
++++ b/config.def.h Thu Mar 11 16:32:24 2010 +0100
_AT_@ -9,6 +9,7 @@
static const char selbgcolor[] = "#0066ff";
static const char selfgcolor[] = "#ffffff";
_AT_@ -11,7 +11,7 @@
static const Bool topbar = True; /* False means bottom bar */
diff -r 72e52c5333ef dwm.c
--- a/dwm.c Wed Nov 25 13:56:17 2009 +0000
-+++ b/dwm.c Tue Mar 09 07:58:46 2010 +0100
++++ b/dwm.c Thu Mar 11 16:32:24 2010 +0100
_AT_@ -269,6 +269,7 @@
static DC dc;
static Monitor *mons = NULL, *selmon = NULL;
_AT_@ -20,35 +20,29 @@
/* configuration, allows nested code to access above variables */
#include "config.h"
-_AT_@ -1299,16 +1300,23 @@
+_AT_@ -1299,16 +1300,21 @@
resize(Client *c, int x, int y, int w, int h, Bool interact) {
XWindowChanges wc;
-- if(applysizehints(c, &x, &y, &w, &h, interact)) {
++ if(c->isfloating) { globalborder = 0 ; }
++ else {
++ if (selmon->lt[selmon->sellt]->arrange == monocle) { globalborder = 0 - borderpx ; }
++ else { globalborder = gappx ; }
++ }
+ 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;
-- wc.border_width = c->bw;
-- XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
-- configure(c);
-- XSync(dpy, False);
-+ if (selmon->lt[selmon->sellt]->arrange == monocle)
-+ {
-+ globalborder = 0 - borderpx ;
- }
-+ else
-+ if(c->isfloating) { globalborder = 0 ; }
-+ else { globalborder = gappx ; }
-+ if(applysizehints(c, &x, &y, &w, &h, interact)) {
-+ c->x = wc.x = x + globalborder;
-+ c->y = wc.y = y + globalborder;
-+ c->w = wc.width = w - 2 * globalborder ;
-+ c->h = wc.height = h - 2 * globalborder ;
-+ wc.border_width = c->bw;
-+ XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
-+ configure(c);
-+ XSync(dpy, False);
++ c->x = wc.x = x + globalborder;
++ c->y = wc.y = y + globalborder;
++ c->w = wc.width = w - 2 * globalborder ;
++ c->h = wc.height = h - 2 * globalborder ;
+ wc.border_width = c->bw;
+ XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
+ configure(c);
+ XSync(dpy, False);
+- }
+ }
}
changeset: 473:b1ac275b7a00
user: Jerome Andrieux <jerome_AT_gcu.info>
date: Thu Mar 11 16:37:47 2010 +0100
files: dwm.suckless.org/patches/dwm-uselessgap-5.8.diff
description:
Updated useless gap patch : 5.8, floating client bug fixed and removes border&gap in monocle mode BIS
diff -r 76dff921f7ae -r b1ac275b7a00 dwm.suckless.org/patches/dwm-uselessgap-5.8.diff
--- a/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff Thu Mar 11 16:33:24 2010 +0100
+++ b/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff Thu Mar 11 16:37:47 2010 +0100
_AT_@ -26,7 +26,7 @@
+ if(c->isfloating) { globalborder = 0 ; }
+ else {
-+ if (selmon->lt[selmon->sellt]->arrange == monocle) { globalborder = 0 - borderpx ; }
++ if (selmon->lt[selmon->sellt]->arrange == monocle) { globalborder = 0 - borderpx ; }
+ else { globalborder = gappx ; }
+ }
if(applysizehints(c, &x, &y, &w, &h, interact)) {
changeset: 474:e95b9108c126
tag: tip
parent: 473:b1ac275b7a00
parent: 471:932caaaea4ff
user: Jerome Andrieux <jerome_AT_gcu.info>
date: Thu Mar 11 17:24:43 2010 +0100
description:
Updated useless gap patch : 5.8, floating client bug fixed and removes border&gap in monocle mode BIS
diff -r b1ac275b7a00 -r e95b9108c126 suckless.org/project_ideas.md
--- a/suckless.org/project_ideas.md Thu Mar 11 16:37:47 2010 +0100
+++ b/suckless.org/project_ideas.md Thu Mar 11 17:24:43 2010 +0100
_AT_@ -70,7 +70,7 @@
of the ld arguments we need an ld wrapper or re-implementation that creates
static libraries or executables. This would enable us to build static libraries
and executables out of any automake generated makefiles without the need to
-write make replacements or patching the build system of a particular package.
+write make replacements or patching the build system of a particular package.
The ld wrapper needs to be extended to also link against uclibc first and if
that fails to fallback to glibc, in order to produce smaller executables in the
_AT_@ -78,7 +78,7 @@
***Requirements:*** Good C/Unix knowledge is essential, knowledge about linking/linker internals are desirable..
-### goblin
+### goblin
Write the most useful unix userland commands in the new [Go
language](
http://golang.org) created by Google to form a robust base for future
_AT_@ -127,43 +127,6 @@
***Requirements:*** Good C knowledge and knowledge of I/O APIs is essential.
-### Less sucking C99 subset spec
-
-Although sufficient, C99 is not a perfect programming language. It suffers from
-legacy syntax and semantics and lacks features that make designing libraries
-and developing abstractions much easier. To address these shortcomings the
-student should survey the problems of C, evaluate possible solutions and
-enhance the language as a subset of C99.
-
-***Requirements:*** Very good C knowledge is essential.
-
-### Modern libc
-
-The standard libc is full of awkward and legacy concepts. We believe that
-recent approaches such as Google's bionic libc are a step into the right
-direction, though not radical enough. We think there is a great opportunity to
-implement a completely new libc which abstracts a very nice standard
-environment which can be implemented on modern OS platforms in a straightforward
-manner.
-Our goal would be to realize an initial proposal on Linux.
-
-***Requirements:*** Very good C knowledge is essential.
-
-### Improve tcc
-
-We would like to see [tcc](
http://bellard.org/tcc/) development continued and
-improved. gcc is too slow, too focused on language-agnostics and particularly
-too focused on C++ support. We believe most open source software is written in
-C and makes no use of C++; hence, we desire an improved tcc.
-
-llvm has the same drawbacks as gcc.
-
-We'd like the improved tcc to be able to build all suckless projects and perhaps
-even the modern libc replacement.
-
-***Requirements:*** Very good C knowledge is essential as well as knowledge of
-x86 assembler and executable formats.
-
### Improve sltar
[sltar](
http://s01.de/~gottox/index.cgi/proj_sltar) is a simplified tar
Received on Thu Mar 11 2010 - 17:25:06 CET