gdkwindow-x11: Implement support for the X Present extension

This allows us better synchronization than simply using XCopyArea, which
is what cairo does by default.
7 files changed