diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_region.h | 3 | ||||
-rw-r--r-- | include/wlr/types/wlr_surface.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h index 9fff0150..0aff48a3 100644 --- a/include/wlr/types/wlr_region.h +++ b/include/wlr/types/wlr_region.h @@ -5,6 +5,7 @@ struct wl_resource; // Implements the given resource as region. // Sets the associated pixman_region32_t as userdata. -void wlr_region_create(struct wl_resource *res); +void wlr_region_create(struct wl_client *client, struct wl_resource *res, + uint32_t id); #endif diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index a195798f..c9cbeba6 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -48,6 +48,7 @@ struct wlr_surface { struct wlr_renderer; struct wlr_surface *wlr_surface_create(struct wl_resource *res, - struct wlr_renderer *renderer); + struct wlr_renderer *renderer); +void wlr_surface_flush_damage(struct wlr_surface *surface); #endif |