diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-10 13:19:39 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-08-10 13:19:39 -0400 |
commit | 7095274a9ed02d60aebc8fdd7cdf9fc0754330d3 (patch) | |
tree | 757053a0bc8e50e6a16f952192f0e7ef17923bc6 /include/wlr | |
parent | 31d78ff497865f5b0442f14adeac8987e1b7273d (diff) | |
parent | ea63f9e53f9672e72d73856de26d7354ab93bb45 (diff) |
Merge branch 'master' into drm_buffer
Diffstat (limited to 'include/wlr')
-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 |