Send a request to the composition manager to add new buffers to a window.
#include <screen/screen.h>
int screen_create_window_buffers(screen_window_t win, int count)
The handle of the window for which the new buffers must be allocated.
The number of buffers to be created for this window.
Function Type: Flushing Execution
This function adds buffers to a window. Windows need at least one buffer in order to be visible. Buffers cannot be created using screen_create_window_buffers() if at some point prior, buffers were attached to this window using screen_attach_window_buffers().
0 if new buffers were created for the specified window, or -1 if an error occurred (errno is set).