* If sync mode is WAIT, then acquire a lock. This prevents render thread from
* continuing until the pixmap has been drawn by the compositor.
* It must be released for rendering to continue.
* If sync mode is WAIT, then acquire a lock. This prevents render thread from
* continuing until the pixmap has been drawn by the compositor.
* It must be released for rendering to continue.