Documentation for <wlr/types/wlr_alpha_modifier_v1.h>

Back to index

Table of contents

struct wlr_alpha_modifier_surface_v1_state

struct wlr_alpha_modifier_surface_v1_state {
	double multiplier; // between 0 and 1
};

struct wlr_alpha_modifier_v1

struct wlr_alpha_modifier_v1 {
	struct wl_global *global;
	
	// private state
	
	struct wl_listener display_destroy;
};

wlr_alpha_modifier_v1_create()

struct wlr_alpha_modifier_v1 *wlr_alpha_modifier_v1_create(​struct wl_display *display);

wlr_alpha_modifier_v1_get_surface_state()

const struct wlr_alpha_modifier_surface_v1_state *wlr_alpha_modifier_v1_get_surface_state(​struct wlr_surface *surface);