commit 71f5caad37e9c6a354d182f3910ea4608d761e3d
parent 3a1ea56ff52dd03b2a8b0d48f7779217b6d6af45
Author: Sander van Dijk <sander@wmii.de>
Date: Thu, 16 Mar 2006 18:58:52 +0100
forbid manual vertical resizing when in Colstack or Colmax (this is wmii's job)
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cmd/wm/area.c b/cmd/wm/area.c
@@ -423,6 +423,8 @@ drop_resize(Frame *f, XRectangle *new)
relax_area(east);
}
+ if(a->mode == Colstack || a->mode == Colmax)
+ goto AfterVertical;
/* vertical resize */
if(north && (new->y != f->rect.y)) {
if(new->y < (north->rect.y + min)) {
@@ -445,7 +447,9 @@ drop_resize(Frame *f, XRectangle *new)
resize_client(f->client, &f->rect, False);
resize_client(south->client, &south->rect, False);
}
- relax_area(a);
+
+ AfterVertical:
+ relax_area(a);
}
static void