changeset: 1827:f6c829317955
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Feb 10 02:48:13 2007 -0500
summary: Don't call arrange_column on floating areas
diff -r 7ee0323d67ca -r f6c829317955 area.c
--- a/area.c Sat Feb 10 02:44:57 2007 -0500
+++ b/area.c Sat Feb 10 02:48:13 2007 -0500
@@ -133,12 +133,12 @@ attach_to_area(Area *a, Frame *f, Bool s
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 s
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);
Received on Sat Feb 10 2007 - 08:49:08 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:08 UTC