diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-12 20:35:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 20:35:27 -0500 |
commit | 27b930df24b59fdbc8996f86e702849e8a3678b1 (patch) | |
tree | 52157267467d84cd9ce83265ca4b600b1b802af1 /sway/desktop/output.c | |
parent | 3b8d4a9212c335211001e96a0b0fbcb8049d0557 (diff) | |
parent | 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (diff) |
Merge pull request #3117 from emersion/wlroots-config10
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 9 |
1 files changed, 0 insertions, 9 deletions
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 |