wmii

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

commit 46a9db62ae32dadb1eb774e5e03459e1bbafc6f1
parent d1978456306b2be3fb2e1930b6b5df00630112b5
Author: Kris Maglione <jg@suckless.org>
Date:   Sat, 10 Feb 2007 02:48:13 -0500

Don't call arrange_column on floating areas


Diffstat:
area.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/area.c b/area.c @@ -133,12 +133,12 @@ attach_to_area(Area *a, Frame *f, Bool send) { n_frame++; c->floating = a->floating; - if(!c->floating) { + if(!a->floating) { h = a->rect.height / n_frame; if(a->frame) scale_column(a, a->rect.height - h); } - if(!send && !c->floating) { /* column */ + if(!send && !a->floating) { /* column */ unsigned int w = newcolw_of_view(v); if(v->area->next->frame && w) { a = new_column(v, a, w); @@ -155,7 +155,8 @@ attach_to_area(Area *a, Frame *f, Bool send) { else /* floating */ place_client(a, c); - arrange_column(a, False); + if(!a->floating) + arrange_column(a, False); focus_client(f->client, False); update_client_grab(f->client);