commit | 8f66a57b4d46d309e07030a2ba4d88c1aebf18fb | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Fri Jan 07 08:38:56 2011 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Jan 07 08:38:56 2011 -0500 |
tree | 8dc0ca37cb90786e8a027c6b1b736dd48cb7e7aa | |
parent | 175e6cec39dfd25b0b8830a98c859077a9d2515e [diff] [blame] |
Ignore surface.map_toplevel() if already mapped
diff --git a/compositor/compositor-x11.c b/compositor/compositor-x11.c index df9329f..722bd94 100644 --- a/compositor/compositor-x11.c +++ b/compositor/compositor-x11.c
@@ -288,7 +288,7 @@ 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;