commit afa8e67fa76688318cc080612614cbe0efdd3899
parent 38efe73427143571c65f6a6081cac0830498af10
Author: Kris Maglione <jg@suckless.org>
Date: Wed, 15 Oct 2008 21:22:49 -0400
Fix creation of columns at the left of the screen.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/wmii/column.c b/cmd/wmii/column.c
@@ -80,6 +80,7 @@ Area*
column_new(View *v, Area *pos, int scrn, uint w) {
Area *a;
+ assert(!pos || !pos->floating);
a = area_create(v, pos, scrn, w);
return a;
#if 0
diff --git a/cmd/wmii/message.c b/cmd/wmii/message.c
@@ -1013,7 +1013,7 @@ msg_sendclient(View *v, IxpMsg *m, bool swap) {
/* XXX: Multihead. */
if(a->prev)
to = a->prev;
- a = v->floating;
+ a = nil;
break;
case LRIGHT:
if(a->floating)