diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-10 18:46:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-10 18:46:14 -0400 |
commit | fbddd34b47fd774631d2a5495e4b0b69acb34688 (patch) | |
tree | 7b74a17124cb1d8a0adf777b9cb337574bea52a7 /include | |
parent | 3bab37858a2e85982aef3588064325405618c8e7 (diff) | |
parent | 44fcc06efd1a3d4bc37141c723c6654f60d8f923 (diff) |
Merge pull request #1923 from emersion/full-damage-tracking
Implement full damage tracking
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 4 | ||||
-rw-r--r-- | include/sway/tree/view.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 56571548..be19d7b2 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -37,8 +37,8 @@ void output_damage_whole(struct sway_output *output); void output_damage_surface(struct sway_output *output, double ox, double oy, struct wlr_surface *surface, bool whole); -void output_damage_view(struct sway_output *output, struct sway_view *view, - bool whole); +void output_damage_from_view(struct sway_output *output, + struct sway_view *view); void output_damage_whole_container(struct sway_output *output, struct sway_container *con); diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 9d4256f7..4ecd8c44 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -184,7 +184,7 @@ void view_set_fullscreen(struct sway_view *view, bool fullscreen); void view_close(struct sway_view *view); -void view_damage(struct sway_view *view, bool whole); +void view_damage_from(struct sway_view *view); void view_for_each_surface(struct sway_view *view, wlr_surface_iterator_func_t iterator, void *user_data); |