Documentation for <wlr/types/wlr_ext_background_effect_v1.h>

Back to index

Table of contents

struct wlr_ext_background_effect_manager_v1

struct wlr_ext_background_effect_manager_v1 {
	struct wl_global *global;
	uint32_t capabilities; // bitmask of enum ext_background_effect_manager_v1_capability
	
	struct {
		struct wl_signal destroy;
	} events;
	
	void *data;
	
	struct {
		struct wl_list resources; // wl_resource_get_link()
		struct wl_listener display_destroy;
	} WLR_PRIVATE;
};

wlr_ext_background_effect_manager_v1_create()

struct wlr_ext_background_effect_manager_v1 *wlr_ext_background_effect_manager_v1_create(​struct wl_display *display, uint32_t version, uint32_t capabilities);

struct wlr_ext_background_effect_surface_v1_state

struct wlr_ext_background_effect_surface_v1_state {
	pixman_region32_t blur_region;
};

wlr_ext_background_effect_v1_get_surface_state()

const struct wlr_ext_background_effect_surface_v1_state *wlr_ext_background_effect_v1_get_surface_state(​struct wlr_surface *surface);

Get the committed background effect state for a surface.

Returns NULL if the client has not attached a background effect object to the surface.