Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Tuncer Ayaz
On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > Tuncer Ayaz dixit (2007-10-27, 13:14): > > > > Replying to you question from a latter e-mail, it only happens with my > > > config.h so I'm including it for inspection. > > > > what about removing NULL in > > const char *tags[] = { "1", "2",

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Robert Figura
Hi Sander, "Sander van Dijk" <[EMAIL PROTECTED]> wrote: > On 10/27/07, Enno Gottox Boland <[EMAIL PROTECTED]> wrote: > > This is also possible. But my intention was that the user does not > > decide wheather a function is tile or non-tile. It is the choice of > > the programmer. > > Right, didn

Re: [dwm] clientspertag status message

2007-10-27 Thread Robert Figura
Hi pancake, pancake <[EMAIL PROTECTED]> wrote: > The other reason I find cpt useful is for using it as a enhaced > monocle layout replacement. If we found a way to always show the > focused window at the first position of the list we can have > a 'scrolleable' view of a tag reducing the view to N

Re: [dwm] some opinions

2007-10-27 Thread Robert Figura
"Anselm R. Garbe" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 26, 2007 at 07:12:24PM +0200, Robert Figura wrote: > > "Anselm R. Garbe" <[EMAIL PROTECTED]> wrote: > > > I consider the idea of having a Button struct for 4.7. [...] > > >> How to give a client * to a handler? > > I'm not sure if I l

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Antoni Grzymala
Sander van Dijk dixit (2007-10-27, 21:03): > In case the 30 minutes aren't an exaggeration, doing a "diff -u > config.def.h config.h | less" might save you some time in the future. You see, my config.h is organized in a substantially different way and diffing it (I used vimdiff) produced so much

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Antoni Grzymala
Ruben Gonzalez Arnau dixit (2007-10-27, 20:05): > Using sleep 1 && slock works for me, maybe is is a 'bad' workaround, but > it works :) I use a similar workaround for xtrlock (the problem came up long ago during my first days with dwm (and dwm's first days, too) and the solution was suggested by

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Antoni Grzymala
Tuncer Ayaz dixit (2007-10-27, 13:14): > > Replying to you question from a latter e-mail, it only happens with my > > config.h so I'm including it for inspection. > > what about removing NULL in > const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; > so that it reads > con

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Riccardo Murri
Il 2007-10-27, Anselm R. Garbe <[EMAIL PROTECTED]> ha scritto: > I could imagine a proceed() function which each layout > should implement a la: > > Bool > proceed(void (*func)(const char *)) { > if(isarrange(tile)) > return func == setmwfact > || func == zoom

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
On 10/27/07, Jeremy O'Brien <[EMAIL PROTECTED]> wrote: > I had this same problem when I tried to modify my custom config to suit > dwm 4.6. After about 30 minutes of tinkering with my config.h, I > _finally_ found the difference there. What was changed that made it so > that the array doesn't requi

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Tuncer Ayaz
On 10/27/07, Jeremy O'Brien <[EMAIL PROTECTED]> wrote: > On Sat, Oct 27, 2007 at 01:14:22PM +0200, Tuncer Ayaz wrote: > > On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > > > > > > > > > Replying to you question from a latter e-mail, it only happens with > > > my > > > config.h so I'm inc

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Ruben Gonzalez Arnau
> On Sat, Oct 27, 2007 at 10:47:17AM +0200, Tube wrote: >> On Thu, Oct 25, 2007 at 08:39:20PM +0200, Anselm R. Garbe wrote: >> > Hi there, >> > >> > I'm glad to announce new releases: >> > >> > http://www.suckless.org/download/dwm-4.6.tar.gz >> >> great, thanks again, anselm! die jahresend-curryw

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Jeremy O'Brien
On Sat, Oct 27, 2007 at 01:14:22PM +0200, Tuncer Ayaz wrote: > On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > > > > > Replying to you question from a latter e-mail, it only happens with my > > config.h so I'm including it for inspection. > > what about removing NULL in > const char *

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Tuncer Ayaz
On 10/27/07, Tube <[EMAIL PROTECTED]> wrote: > On Sat, Oct 27, 2007 at 06:13:54PM +0200, Anselm R. Garbe wrote: [snip] > > How do you run slock? > > via the shell. in former versions it didn't work by key combination > either. and in even former versions it once worked ... fyi, I can also confir

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Tube
On Sat, Oct 27, 2007 at 06:13:54PM +0200, Anselm R. Garbe wrote: > > > > great, thanks again, anselm! die jahresend-currywurst ist dir sicher ;) > > Looking forward to the best Currywurst this year! ;) yeah! > > one thing that still doesn't work is slock. when called it darkens the > > screen b

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Anselm R. Garbe
On Sat, Oct 27, 2007 at 10:47:17AM +0200, Tube wrote: > On Thu, Oct 25, 2007 at 08:39:20PM +0200, Anselm R. Garbe wrote: > > Hi there, > > > > I'm glad to announce new releases: > > > > http://www.suckless.org/download/dwm-4.6.tar.gz > > great, thanks again, anselm! die jahresend-currywurst is

Re: [dwm] some opinions

2007-10-27 Thread Anselm R. Garbe
On Fri, Oct 26, 2007 at 07:12:24PM +0200, Robert Figura wrote: > "Anselm R. Garbe" <[EMAIL PROTECTED]> wrote: > > I consider the idea of having a Button struct for 4.7. > > Thank you for your reply Anselm. > > One thing made me curious; do you already have an idea how to adress > this:? > >

Re: [dwm] clientspertag status message

2007-10-27 Thread pancake
I have updated the wiki with your patch. http://www.suckless.org/wiki/dwm/patches/clientspertag --pancake

Re: [dwm] clientspertag status message

2007-10-27 Thread pancake
Hi Ritesh! Welcome to the mailing list. Thanks for the patch, but I would like to discuss it before merging it to my patch because I don't want to make cpt modify dwm.c. I think stdout of dwm is probably a missunderstood friend. We can change all this patch by just adding a printf("%d/%d,cpt,n)

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Anselm R. Garbe
On Sat, Oct 27, 2007 at 05:11:01PM +0200, Sander van Dijk wrote: > On 10/27/07, Enno Gottox Boland <[EMAIL PROTECTED]> wrote: > > This is also possible. But my intention was that the user does not > > decide wheather a function is tile or non-tile. It is the choice of > > the programmer. > > Right

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread pancake
I agree to you. ISTILE is more noise for me. Its something related to the layout and not to the user choice at a first instance. User can change this behaviour by changing this value to false, but imho this is a rarely case because a tiling layout is a tiling layout and a floating layout it is not

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread pancake
I recomend you to use the nmaster layout which does not resizes clients using hints, and this layout works like the native tile() one. It's the way for not patching dwm again. My eyes neither support resizehints, but if someone finds it "useful?", "correct?" or "important?" it's ok for me to stay

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Sander van Dijk
On 10/27/07, Enno Gottox Boland <[EMAIL PROTECTED]> wrote: > This is also possible. But my intention was that the user does not > decide wheather a function is tile or non-tile. It is the choice of > the programmer. Right, didn't look at it that way. Now that we're talking about ISTILE, I think th

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Enno "Gottox" Boland
This is also possible. But my intention was that the user does not decide wheather a function is tile or non-tile. It is the choice of the programmer. 2007/10/27, Sander van Dijk <[EMAIL PROTECTED]>: > On 10/27/07, Enno Gottox Boland <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I created a different

Re: [dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Sander van Dijk
On 10/27/07, Enno Gottox Boland <[EMAIL PROTECTED]> wrote: > Hi! > > I created a different behavior of the istile-check. I think a layout > should decide itself if it is a tiling or a non-tiling layout. I > removed the ISTILE declaration and replaced it by a variable which is > set by the layout fu

[dwm] [PATCH] replacing "#define ISTILE" by "Bool istile"

2007-10-27 Thread Enno "Gottox" Boland
Hi! I created a different behavior of the istile-check. I think a layout should decide itself if it is a tiling or a non-tiling layout. I removed the ISTILE declaration and replaced it by a variable which is set by the layout functions. What do you think about this? -- http://www.gnuffy.org -

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Tuncer Ayaz
On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > Replying to you question from a latter e-mail, it only happens with my > config.h so I'm including it for inspection. what about removing NULL in const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; so that it read

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Antoni Grzymala
Sander van Dijk dixit (2007-10-27, 09:41): > On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > > Thanks arg (and all contributors), unfortunately the new dwm segfaults > > on my computer. Since I don't know much about debugging C programs I > > cannot provide a backtrace or what not (unles

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Pieter Verberne
On Sat, Oct 27, 2007 at 10:44:18AM +0200, Sander van Dijk wrote: > On 10/27/07, Arun G Nair <[EMAIL PROTECTED]> wrote: > > Do you know which ones need this ? I just have Firefox, pidgin (which > > still steals focus) and xpdf. All of these maximize filling the > > screen. Its just xterm. If anyone

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > Thanks arg (and all contributors), unfortunately the new dwm segfaults > on my computer. Since I don't know much about debugging C programs I > cannot provide a backtrace or what not (unless instructed). > > I noticed the segfault also on th

Re: [dwm] [patch] pertag

2007-10-27 Thread Jan Christoph Ebersbach
On Sat 27-10-2007 11:01 +0200, Jan Christoph Ebersbach wrote: > I've decided to abandon the taglayouts patch in favour of a more > general pertag patch. > > Currently, the patch keeps layout, mwfact, barpos and nmaster (if > installed) per tag. I switched the patch back from static to dynamic dec

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Anselm R. Garbe
On Sat, Oct 27, 2007 at 09:45:08AM +0200, Sander van Dijk wrote: > Btw. Anselm, I just noticed that the debug options aren't disabled in > config.mk in 4.6. If Antoni's problem is going to cause a 4.6.1, I'd > like to see that fixed as well. The debug compile infos were enabled on accident, but th

[dwm] [patch] pertag

2007-10-27 Thread Jan Christoph Ebersbach
On Fri 26-10-2007 17:09 +0100, Chris Webb wrote: > Incidentally, something else needed for consistency when implementing > taglayouts-type behaviour is to index all the layout parameters like > mwfact, nmaster (if you have it) and nstack/ncols/nrows (if you have > any of them). I don't think this

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Tube
On Thu, Oct 25, 2007 at 08:39:20PM +0200, Anselm R. Garbe wrote: > Hi there, > > I'm glad to announce new releases: > > http://www.suckless.org/download/dwm-4.6.tar.gz great, thanks again, anselm! die jahresend-currywurst ist dir sicher ;) one thing that still doesn't work is slock. when call

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
On 10/27/07, Arun G Nair <[EMAIL PROTECTED]> wrote: > Do you know which ones need this ? I just have Firefox, pidgin (which > still steals focus) and xpdf. All of these maximize filling the > screen. Its just xterm. If anyone has a patch, please send it. Btw, you are aware that you're choosing eye

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
On 10/27/07, Arun G Nair <[EMAIL PROTECTED]> wrote: > > Yes, hacking tile(). > > But I think it's better to face the fact that some apps need this. > > > Do you know which ones need this ? I just have Firefox, pidgin (which > still steals focus) and xpdf. All of these maximize filling the > screen.

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Arun G Nair
> Yes, hacking tile(). > But I think it's better to face the fact that some apps need this. Do you know which ones need this ? I just have Firefox, pidgin (which still steals focus) and xpdf. All of these maximize filling the screen. Its just xterm. If anyone has a patch, please send it. Thanx,

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Arun G Nair
On 10/27/07, Sander van Dijk <[EMAIL PROTECTED]> wrote: > Yes, hacking tile(). > But I think it's better to face the fact that some apps need this. As > has been mentioned before by others, clients that request inc-handling > are going to waste space one way or the other (in or outside their > win

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
On 10/27/07, Arun G Nair <[EMAIL PROTECTED]> wrote: > Hi, > >I just upgrade to 4.6 and I see the "resizehints problem" again. > The wallpaper shows up at the right side of the screen. A maximized > $TERM doesn't fill the screen. Is there a way around it ? Yes, hacking tile(). But I think it's

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
Btw. Anselm, I just noticed that the debug options aren't disabled in config.mk in 4.6. If Antoni's problem is going to cause a 4.6.1, I'd like to see that fixed as well. Gr. Sander.

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Arun G Nair
Hi, I just upgrade to 4.6 and I see the "resizehints problem" again. The wallpaper shows up at the right side of the screen. A maximized $TERM doesn't fill the screen. Is there a way around it ? -- ...Keep Smiling...

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Sander van Dijk
On 10/27/07, Antoni Grzymala <[EMAIL PROTECTED]> wrote: > Thanks arg (and all contributors), unfortunately the new dwm segfaults > on my computer. Since I don't know much about debugging C programs I > cannot provide a backtrace or what not (unless instructed). $ ulimit -c unlimited $ dwm $ gdb

Re: [dwm] dwm-4.6 / dmenu-3.4

2007-10-27 Thread Antoni Grzymala
Anselm R. Garbe dixit (2007-10-25, 20:39): > Hi there, > > I'm glad to announce new releases: > > http://www.suckless.org/download/dwm-4.6.tar.gz > http://www.suckless.org/download/dmenu-3.4.tar.gz > > Many thanks go to all contributors, developers, testers, and the > dwm/dmenu community fo