screen_leave_window_group()

Cause a window to leave a window group.

Synopsis:

#include <screen/screen.h>
 
int screen_leave_window_group(screen_window_t win)

Arguments:

win

The handle for the window that is to leave the group. This window must have been created with screen_create_window_type() with a type of either SCREEN_CHILD_WINDOW or SCREEN_EMBEDDED_WINDOW.

Library:

libscreen

Description:

Function Type: Delayed Execution

This function removes a window from a window group.

Returns:

0 if the request for the window leaving its group was queued, or -1 if an error occurred (errno is set; refer to /usr/include/errno.h for more details).