This provides an Xlib-compatible API for the Present extension.