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

2007-08-12 Thread Enno \Gottox\ Boland
Imho, this should be included into 4.4 2007/8/11, Jeremy O'Brien [EMAIL PROTECTED]: 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

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

2007-08-12 Thread Anselm R. Garbe
On Sat, Aug 11, 2007 at 08:09:54PM -0400, James Turner wrote: 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

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

2007-08-12 Thread Anselm R. Garbe
On Sat, Aug 11, 2007 at 08:09:54PM -0400, James Turner wrote: 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

[dwm] floating

2007-08-12 Thread Anselm R. Garbe
Well I think the separation of layouts to make them less coupled is the correct decision in general. However, I also believe, that the floating layout should be integral part of dwm and not be part of the way how other layouts are included. This allows that checks like lt-arrange == floating are

Re: [dwm] floating

2007-08-12 Thread Enno \Gottox\ Boland
I think it's also possible to remove floating layout from dwm and use it as a fallback if arrange == NULL. In my eyes floating does nothing which belongs to a arrange function. The arrange function should only arrange the windows. In my opinion it shouldn't handle things like the visibility of a

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

2007-08-12 Thread James Turner
On Sun, Aug 12, 2007 at 12:53:46PM +0200, Anselm R. Garbe wrote: On Sat, Aug 11, 2007 at 08:09:54PM -0400, James Turner wrote: 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 ==

Re: [dwm] floating

2007-08-12 Thread Anselm R. Garbe
On Sun, Aug 12, 2007 at 01:19:12PM +0200, Enno Gottox Boland wrote: I think it's also possible to remove floating layout from dwm and use it as a fallback if arrange == NULL. In my eyes floating does nothing which belongs to a arrange function. The arrange function should only arrange the

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

2007-08-12 Thread Anselm R. Garbe
On Sun, Aug 12, 2007 at 07:57:15PM +0200, Anselm R. Garbe wrote: On Sun, Aug 12, 2007 at 10:12:14AM -0400, James Turner wrote: I went ahead and created a new patch that patches tile.c rather then creating an all new bstack layout. You can find it here:

Re: [dwm] floating

2007-08-12 Thread Anselm R. Garbe
On Sun, Aug 12, 2007 at 08:47:45PM +0200, Enno Gottox Boland wrote: Ok I agree. What about resizing windows to c-rx, c-ry, ... ? If we set c-rx = c-x = wa-x, ... in manage(). This can be used to resize a window to its startsize when you put it in the floating layout. In an early stage of