[dwm] new windows on slave area

From: pancake <pancake_AT_youterm.com>
Date: Tue, 16 Jan 2007 18:41:41 +0100 (CET)

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?

--pancake
Received on Tue Jan 16 2007 - 18:41:32 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:35:03 UTC