screen_unregister_window_manager()

Unregister a context as the window manager of a display

Synopsis:

#include <screen/screen.h>
int screen_unregister_window_manager(screen_context_t ctx,
                                     screen_display_t disp)

Arguments:

ctx
The context which is unregistering as the window manager.
disp
The display which the context wants to stop managing.

Library:

libscreen

Description:

Function Type: Flushing Execution

This function unregisters the context as the window manager of a display. The context must currently be the window manager for the display.

This function is associated with the preprocessor definition screen_register_window_manager.

Returns:

0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).