MythTV  master
Macros | Functions
The zwp_idle_inhibit_manager_v1 interface

This interface permits inhibiting the idle behavior such as screen blanking, locking, and screensaving. The client binds the idle manager globally, then creates idle-inhibitor objects for each surface. More...

Macros

#define ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY_SINCE_VERSION   1
 
#define ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR_SINCE_VERSION   1
 

Functions

static void zwp_idle_inhibit_manager_v1_set_user_data (struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1, void *user_data)
 
static void * zwp_idle_inhibit_manager_v1_get_user_data (struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1)
 
static void zwp_idle_inhibit_manager_v1_destroy (struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1)
 
static struct zwp_idle_inhibitor_v1 * zwp_idle_inhibit_manager_v1_create_inhibitor (struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1, struct wl_surface *surface)
 

Detailed Description

This interface permits inhibiting the idle behavior such as screen blanking, locking, and screensaving. The client binds the idle manager globally, then creates idle-inhibitor objects for each surface.

Warning! The protocol described in this file is experimental and backward incompatible changes may be made. Backward compatible changes may be added together with the corresponding interface version bump. Backward incompatible changes are done by bumping the version number in the protocol and interface names and resetting the interface version. Once the protocol is to be declared stable, the 'z' prefix and the version number in the protocol and interface names are removed and the interface version number is reset.

Macro Definition Documentation

◆ ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY_SINCE_VERSION

#define ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY_SINCE_VERSION   1

Definition at line 128 of file idle_inhibit_unstable_v1.h.

◆ ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR_SINCE_VERSION

#define ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR_SINCE_VERSION   1

Definition at line 132 of file idle_inhibit_unstable_v1.h.

Function Documentation

◆ zwp_idle_inhibit_manager_v1_set_user_data()

static void zwp_idle_inhibit_manager_v1_set_user_data ( struct zwp_idle_inhibit_manager_v1 *  zwp_idle_inhibit_manager_v1,
void *  user_data 
)
inlinestatic

Definition at line 136 of file idle_inhibit_unstable_v1.h.

◆ zwp_idle_inhibit_manager_v1_get_user_data()

static void* zwp_idle_inhibit_manager_v1_get_user_data ( struct zwp_idle_inhibit_manager_v1 *  zwp_idle_inhibit_manager_v1)
inlinestatic

Definition at line 143 of file idle_inhibit_unstable_v1.h.

◆ zwp_idle_inhibit_manager_v1_destroy()

static void zwp_idle_inhibit_manager_v1_destroy ( struct zwp_idle_inhibit_manager_v1 *  zwp_idle_inhibit_manager_v1)
inlinestatic

Destroy the inhibit manager.

Definition at line 160 of file idle_inhibit_unstable_v1.h.

Referenced by MythScreenSaverWayland::~MythScreenSaverWayland().

◆ zwp_idle_inhibit_manager_v1_create_inhibitor()

static struct zwp_idle_inhibitor_v1* zwp_idle_inhibit_manager_v1_create_inhibitor ( struct zwp_idle_inhibit_manager_v1 *  zwp_idle_inhibit_manager_v1,
struct wl_surface *  surface 
)
inlinestatic

Create a new inhibitor object associated with the given surface.

Definition at line 174 of file idle_inhibit_unstable_v1.h.

Referenced by MythScreenSaverWayland::Disable().