2wm

dual window manager prototype (minimalist dwm with no tags, just one view)
git clone git://git.suckless.org/2wm
Log | Files | Refs | README | LICENSE

commit 9ac0a667401a2c419385e6c62019f5773b69e4c3
parent 13ee778532875526ad90dd34dea131fb75d6058a
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Mon, 12 Feb 2007 15:10:40 +0100

foo foo
Diffstat:
view.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/view.c b/view.c @@ -122,7 +122,14 @@ arrange(void) { void attach(Arg *arg) { + Client *c; + for(c = clients; c && c->view == view; c = c->next); + if(!c) + return; + c->view = !c->view; + focus(c); + arrange(); } void