On Wed, Feb 21, 2007 at 11:23:53AM +0200, Alexandru E. Ungur wrote: > >>> sender: "Anselm R. Garbe" date: "Tue, Feb 20, 2007 at 03:24:12PM +0100" > >>> <<<EOQ > > > I have a question: if instead of patching the layout.c file for new > > > layouts, each of us who created a layout patch would create a > > > separate file, such as: > > > > > > layout_grid.c > > > layout_bstack.c > > > > Do what you like, but don't forget that those files must be > > included in Makefile somehow and the function signatures must be > > local in layout.c as well... so I consider this as don't do it > > that way ;) > Ok then, thanks for the advice :)
There is also another reason - the wmii-2 way only supported the arrange-function being integrated that way. But in dwm we have things like incnmaster() or resizemaster() which manipulate the tile()-layout. Hence it would get very messy to handle such add-on functions with such a way like we had in wmii-2 - so it is much easier and simplier for patch contributors to put everything into 1 single superfeature.patch file. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
