remove unneeded render on unmap

tree_render() will call x_push_changes(), so calling it afterward is not
needed.
This commit is contained in:
Tony Crisci 2014-06-16 02:31:03 -04:00 committed by Michael Stapelberg
parent 43b447855d
commit e77103012f

View File

@ -489,7 +489,6 @@ static void handle_unmap_notify_event(xcb_unmap_notify_event_t *event) {
tree_close(con, DONT_KILL_WINDOW, false, false); tree_close(con, DONT_KILL_WINDOW, false, false);
tree_render(); tree_render();
x_push_changes(croot);
ignore_end: ignore_end:
/* If the client (as opposed to i3) destroyed or unmapped a window, an /* If the client (as opposed to i3) destroyed or unmapped a window, an