On Tue, Jan 16, 2007 at 06:41:41PM +0100, pancake wrote:
> Sometimes I need to have a big window in the master area and i want to open
> new windows into the slave one without redrawing the master area.
> 
> f.example
> 
> --FFFF
> --FFFF
> 
> ==FFFF
> --FFFF
> 
> In this example i've been using the slave area as the master one. leaving
> one big window on the right and N small windows on the master area.
> 
> I've been testing with the nmaster callbacks doing something like:
>  - open new window
>  - increase nmaster
> 
> But this action forces the redraw of the nmaster window causing some slowdown
> (because master area apps usualy are graphical apps like firefox, abiword,
> etc..)
> 
> I think that dwm must provide a way to define if you want to open new
> windows at the head or the tail of the window list. something like:
> 
> { ...., append, { .i = 0 } },  // default: new windows in master (head)
> { ...., append, { .i = 1 } },  // new windows in the tail of the wlist.
> 
> It's possible to provide a swapping function like ".i ^= .i" ?
> 
> Maybe the "append" function name is not ok, it's just for the example.
> 
> Possible keys for this could be META+a, META+e like ^a and ^e emacs-like
> keys for line editing (vi-like chars '^' and '$' are not very usable here)
> 
> What do you think about this?

I'm not sure I really understand what you ask. dwm prepends the
window list, because that's a very simple list operation. If
you want an append, you only have to patch manage().

Regards,
-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361

Reply via email to