Re: [dwm] btw...

2007-08-11 Thread Anselm R. Garbe
Basically I came to the same conclusion, that adding const char *arg to tile() is not the best idea, same with letting the arrange function do all nasty jobs. All I have in mind is making the inclusion of third-party layouts more elegant with less coupling for this. I came up to a different idea

[dwm] Fwd: [hackers] separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existi

2007-08-11 Thread Anselm R. Garbe
Hi there, I forward my change to this list, to show in detail what I have in mind how to separate layouts. Just checkout hg tip, it's quite simple to grasp. config.mk has to be edited to define all .c files which contain layout specific things, config.h has to be edited to include the

Re: [dwm] Fwd: [hackers] separated layout-specific stuff...

2007-08-11 Thread Jeroen Schot
Hi Anselm, Forgive me if I sound rude, but I don't really like this separation. IMHO it makes the config.h ugly. It does look slightly easier to create/modify layouts, but there seems to be a lot of duplicate stuff/overhead involved. Perhaps there is a different solution that gives the best of

Re: [dwm] Fwd: [hackers] separated layout-specific stuff...

2007-08-11 Thread Kurt H Maier
Two #include lines make a file ugly? How so? Kurt On 8/11/07, Jeroen Schot [EMAIL PROTECTED] wrote: Hi Anselm, Forgive me if I sound rude, but I don't really like this separation. IMHO it makes the config.h ugly. It does look slightly easier to create/modify layouts, but there seems to be

Re: [dwm] Fwd: [hackers] separated layout-specific stuff...

2007-08-11 Thread Jeremy O'Brien
On Sat, Aug 11, 2007 at 06:20:02PM +0200, Anselm R. Garbe wrote: On Sat, Aug 11, 2007 at 03:11:11PM +0200, markus schnalke wrote: Jeroen Schot [EMAIL PROTECTED] wrote: On Sat, Aug 11, 2007 at 07:52:46AM -0500, Kurt H Maier wrote: Two #include lines make a file ugly? How so? It's

[dwm] Update: bottomstack patch for latest 4.4 tip

2007-08-11 Thread James Turner
I've gone ahead and updated the bottom stack patch to work with the new 4.4 tip. I just ported the portrait layout since that's all I use. Please test this against the latest tip. One question for you C hackers, how to I get the incmaster and zoom functions with in the tile.c to work with my new

Re: [dwm] Update: bottomstack patch for latest 4.4 tip

2007-08-11 Thread James Turner
Well the zoom function seems to work, but increasing the master area does not. I changed part of the incmaster function within tile.c to if(lt-arrange == floating) return; but I still can't increase the master in the bottom stack layout mode. Any ideas? On Aug 11, 2007, at 6:58 PM, James