From 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 12 Nov 2018 22:23:06 +0100 Subject: Use #if instead of #ifdef for WLR_HAS_* --- sway/desktop/output.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sway/desktop') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index d48ddef3..c53a9c73 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -469,15 +469,6 @@ void output_damage_box(struct sway_output *output, struct wlr_box *_box) { wlr_output_damage_add_box(output->damage, &box); } -static void output_damage_whole_container_iterator(struct sway_container *con, - void *data) { - if (!sway_assert(con->view, "expected a view")) { - return; - } - struct sway_output *output = data; - output_damage_view(output, con->view, true); -} - void output_damage_whole_container(struct sway_output *output, struct sway_container *con) { // Pad the box by 1px, because the width is a double and might be a fraction -- cgit v1.2.3-70-g09d2