[hackers] [wmii] Fix creation of columns at the left of the screen. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 16 Oct 2008 01:22:50 +0000 (UTC)

changeset: 2371:4d00266a9f21
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Oct 15 21:22:49 2008 -0400
files: cmd/wmii/column.c cmd/wmii/message.c
description:
Fix creation of columns at the left of the screen.

diff -r 53c0c3bb5543 -r 4d00266a9f21 cmd/wmii/column.c
--- a/cmd/wmii/column.c Wed Oct 15 21:16:14 2008 -0400
+++ b/cmd/wmii/column.c Wed Oct 15 21:22:49 2008 -0400
@@ -80,6 +80,7 @@
 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 -r 53c0c3bb5543 -r 4d00266a9f21 cmd/wmii/message.c
--- a/cmd/wmii/message.c Wed Oct 15 21:16:14 2008 -0400
+++ b/cmd/wmii/message.c Wed Oct 15 21:22:49 2008 -0400
@@ -1013,7 +1013,7 @@
                 /* XXX: Multihead. */
                 if(a->prev)
                         to = a->prev;
- a = v->floating;
+ a = nil;
                 break;
         case LRIGHT:
                 if(a->floating)
Received on Thu Oct 16 2008 - 01:22:50 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 16 2008 - 01:24:05 UTC