From bec80f15519f686c64485685289155568c9bfa9e Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 5 May 2018 19:43:12 +0100 Subject: Damage borders when damaging view --- include/sway/output.h | 4 ++-- include/sway/tree/view.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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); -- cgit v1.2.3-54-g00ecf