On Wed, Oct 10, 2007 at 03:22:45PM +0200, <Anselm R. Garbe>:
~> I think about this proposal.
~> 

Then consider this too:

void focusswitch(const char *arg) {
        Client *c;
        for(c = stack->snext; c && !isvisible(c); c = c->snext);
        if(c) {
                focus(c);
                restack();
        }
}

It cycles from the current to the previous window (of the focus stack).
-- 
:wq!
"I don't know nothing" The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]

Reply via email to