Send a request to the composition manager to add a new buffer to a pixmap.
#include <screen/screen.h>
int screen_create_pixmap_buffer(screen_pixmap_t pix)
The handle of the pixmap for which a new buffer will be created.
Function Type: Flushing Execution
This function to adds a buffer to a pixmap. A buffer cannot be created if a buffer was previously attached using screen_attach_pixmap_buffer().
0 if a new pixmap buffer was created,or -1 if an error occurred (errno is set).