screen_register_window_manager()
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Register a context as the window manager of a display
Synopsis:
#include <screen/screen.h>int screen_register_window_manager(screen_context_t ctx,
screen_display_t disp)Arguments:
- ctx
- The context which is registering as the window manager.
- disp
- The display which the context wants to manage.
Library:
libscreenDescription:
Function Type: Flushing Execution
This function registers the context as the window manager of a display. The context must have SCREEN_WINDOW_MANAGER_CONTEXT privileges. The display must not currently have a window manager.
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).
Page updated:
