Ignore surface.map_toplevel() if already mapped

This commit is contained in:
Kristian Høgsberg 2011-01-07 08:38:56 -05:00
parent 175e6cec39
commit 8f66a57b4d
3 changed files with 7 additions and 1 deletions

View file

@ -288,7 +288,7 @@ x11_compositor_present(struct wlsc_compositor *base)
XCB_DRI2_ATTACHMENT_BUFFER_FRONT_LEFT,
XCB_DRI2_ATTACHMENT_BUFFER_BACK_LEFT);
free(xcb_dri2_copy_region_reply(c->conn, cookie, NULL));
}
}
gettimeofday(&tv, NULL);
msec = tv.tv_sec * 1000 + tv.tv_usec / 1000;