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 | Merge pull request #1932 from emersion/fix-layer-shell-exclusive (diff) | |
parent | Fix damage tracking on HiDPI (diff) | |
download | sway-fbddd34b47fd774631d2a5495e4b0b69acb34688.tar.gz sway-fbddd34b47fd774631d2a5495e4b0b69acb34688.tar.zst sway-fbddd34b47fd774631d2a5495e4b0b69acb34688.zip |
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); | |||
37 | void output_damage_surface(struct sway_output *output, double ox, double oy, | 37 | void output_damage_surface(struct sway_output *output, double ox, double oy, |
38 | struct wlr_surface *surface, bool whole); | 38 | struct wlr_surface *surface, bool whole); |
39 | 39 | ||
40 | void output_damage_view(struct sway_output *output, struct sway_view *view, | 40 | void output_damage_from_view(struct sway_output *output, |
41 | bool whole); | 41 | struct sway_view *view); |
42 | 42 | ||
43 | void output_damage_whole_container(struct sway_output *output, | 43 | void output_damage_whole_container(struct sway_output *output, |
44 | struct sway_container *con); | 44 | 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); | |||
184 | 184 | ||
185 | void view_close(struct sway_view *view); | 185 | void view_close(struct sway_view *view); |
186 | 186 | ||
187 | void view_damage(struct sway_view *view, bool whole); | 187 | void view_damage_from(struct sway_view *view); |
188 | 188 | ||
189 | void view_for_each_surface(struct sway_view *view, | 189 | void view_for_each_surface(struct sway_view *view, |
190 | wlr_surface_iterator_func_t iterator, void *user_data); | 190 | wlr_surface_iterator_func_t iterator, void *user_data); |