aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-05 19:43:12 +0100
committerLibravatar emersion <contact@emersion.fr>2018-05-10 23:03:50 +0100
commitbec80f15519f686c64485685289155568c9bfa9e (patch)
treece19c596754ac2413bddea4a6cd395882682567f /include
parentRender borders with damage (diff)
downloadsway-bec80f15519f686c64485685289155568c9bfa9e.tar.gz
sway-bec80f15519f686c64485685289155568c9bfa9e.tar.zst
sway-bec80f15519f686c64485685289155568c9bfa9e.zip
Damage borders when damaging view
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h4
-rw-r--r--include/sway/tree/view.h2
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);
37void output_damage_surface(struct sway_output *output, double ox, double oy, 37void 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
40void output_damage_view(struct sway_output *output, struct sway_view *view, 40void output_damage_from_view(struct sway_output *output,
41 bool whole); 41 struct sway_view *view);
42 42
43void output_damage_whole_container(struct sway_output *output, 43void 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
185void view_close(struct sway_view *view); 185void view_close(struct sway_view *view);
186 186
187void view_damage(struct sway_view *view, bool whole); 187void view_damage_from(struct sway_view *view);
188 188
189void view_for_each_surface(struct sway_view *view, 189void 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);