wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 5a74d5ad633f810b3a383d1d63092a5a6be33e1b
parent 849395cbc51a5de113fc3cafce40a95d3163a6bf
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Wed, 18 Jan 2006 17:42:10 +0200

refined swap in column layout to work in a cooler way


Diffstat:
cmd/wm/layout_column.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c @@ -524,6 +524,11 @@ swap_frame(void *obj, char *arg) north = cell->prev; south = cell->next; + if(!west) + west = east; + if(!east) + east = west; + if(!strncmp(arg, "north", 6) && north) { r = north->frame->rect; north->frame->rect = cell->frame->rect;