Create a window group.
#include <screen/screen.h>
int screen_create_group(screen_group_t *pgrp, screen_context_t ctx)
The handle of the group.
The connection to the composition manager. This context must have been created with screen_create_context().
You can use groups in order to organize application windows.
Function Type: Immediate Execution
This function creates a window group given a group object and a context. The context is shared by all windows in this group.
0 if a new window group was created, or -1 if an error occurred (errno is set).