Add parameter to reparent windows instead of killing them when closing a container

Necessary because when windows are unmapped, they are not necessary to
be killed (an application can unmap it temporarily).
This commit is contained in:
Michael Stapelberg
2010-05-15 00:16:59 +02:00
parent def41582d1
commit 2d52ecf071
6 changed files with 21 additions and 13 deletions

View File

@ -469,7 +469,7 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti
return 1;
}
tree_close(con);
tree_close(con, false);
tree_render();
x_push_changes(croot);
return 1;