Screen context types
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
The types of context masks
Synopsis:
#include <screen/screen.h>
enum {
SCREEN_APPLICATION_CONTEXT = 0,
SCREEN_WINDOW_MANAGER_CONTEXT = (1 << 0),
SCREEN_INPUT_PROVIDER_CONTEXT = (1 << 1),
SCREEN_POWER_MANAGER_CONTEXT = (1 << 2),
SCREEN_DISPLAY_MANAGER_CONTEXT = (1 << 3),
SCREEN_INPUT_MANAGER_CONTEXT = (1 << 4),
SCREEN_BUFFER_PROVIDER_CONTEXT = (1 << 5)
};
Data:
- SCREEN_APPLICATION_CONTEXT
- A context type that allows a process to create its own windows and control some of the window properties.
- SCREEN_WINDOW_MANAGER_CONTEXT
- A context type that requests a privileged context to allow a process to modify all windows in the system when new application windows are created or destroyed.
- SCREEN_INPUT_PROVIDER_CONTEXT
- A context type that requests a privileged context to allow a process to send events to any application in the system.
- SCREEN_POWER_MANAGER_CONTEXT
- A context type that requests a privileged context to provide access to power management functionality in order to change display power modes.
- SCREEN_DISPLAY_MANAGER_CONTEXT
- A context type that requests a privileged context to allow a process to modify all display properties in the system.
- SCREEN_INPUT_MANAGER_CONTEXT
- A context type that requests a privileged context to allow a process to be notified of all input sessions created and to modify specific session properties.
- SCREEN_BUFFER_PROVIDER_CONTEXT
- A context type that requests a privileged context to allow a process to attach buffers that it created by calling screen_create_buffer().
Library:
libscreenDescription:
These bits are intended to be combined in a single integer representing combinations of desired privileges that are applied to a Screen context.
Page updated: