Documentation for <wlr/types/wlr_idle_inhibit_v1.h>

Back to index

Table of contents

struct wlr_idle_inhibit_manager_v1

struct wlr_idle_inhibit_manager_v1 {
	struct wl_list inhibitors; // wlr_idle_inhibit_inhibitor_v1.link
	struct wl_global *global;
	
	struct wl_listener display_destroy;
	
	struct {
		struct wl_signal new_inhibitor; // struct wlr_idle_inhibitor_v1
		struct wl_signal destroy;
	} events;
	
	void *data;
};

wlr_idle_inhibit_v1_create()

struct wlr_idle_inhibit_manager_v1 *wlr_idle_inhibit_v1_create(​struct wl_display *display);

struct wlr_idle_inhibitor_v1

struct wlr_idle_inhibitor_v1 {
	struct wlr_surface *surface;
	struct wl_resource *resource;
	struct wl_listener surface_destroy;
	
	struct wl_list link; // wlr_idle_inhibit_manager_v1.inhibitors
	
	struct {
		struct wl_signal destroy;
	} events;
	
	void *data;
};