i3 - improved tiling WM


bugfix: unneeded render on unmap

Patch status: merged

Patch by Tony Crisci

Long description:

tree_render() will call x_push_changes(), so calling it afterward is not
needed.

To apply this patch, use:
curl http://cr.i3wm.org/patch/581/raw.patch | git am

b/src/handlers.c

15
@@ -487,7 +487,6 @@ static void handle_unmap_notify_event(xcb_unmap_notify_event_t *event) {
16
 
17
     tree_close(con, DONT_KILL_WINDOW, false, false);
18
     tree_render();
19
-    x_push_changes(croot);
20
 
21
 ignore_end:
22
     /* If the client (as opposed to i3) destroyed or unmapped a window, an