commit faa69a3a5f7114960e36f42847108a34d01a2ca9
parent 24f4a8b42d87a8242a377cacca9f43b5bdaa9ffd
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Tue, 17 Jan 2006 18:39:33 +0200
removed reattach as floating on confrequest, fixed issue on rmpage
Diffstat:
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/cmd/wm/event.c b/cmd/wm/event.c
@@ -106,12 +106,6 @@ handle_configurerequest(XEvent * e)
f = c->frame;
if(f) {
- Page *p = f->layout->page;
- if(f->layout == p->managed) {
- f->layout->def->detach(f->layout, c, False);
- p->floating->def->attach(p->floating, c);
- f = c->frame;
- }
bw = border_width(f);
tabh = tab_height(f);
}
diff --git a/cmd/wm/page.c b/cmd/wm/page.c
@@ -65,7 +65,7 @@ destroy_page(Page * p)
{
AttachQueue *o, *n;
- while(attachqueue->page == p) {
+ while(attachqueue && (attachqueue->page == p)) {
n = attachqueue->next;
free(attachqueue);
attachqueue = n;