From f0212d66eee61517ab1bb0f8bb68784d50e14c9a Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Wed, 16 May 2018 20:47:03 +1000 Subject: [PATCH] Update marks textures on output scale event --- sway/desktop/output.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 3f680b36..94562052 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -962,10 +962,15 @@ static void handle_transform(struct wl_listener *listener, void *data) { arrange_output(output->swayc); } +static void handle_scale_iterator(struct sway_container *view, void *data) { + view_update_marks_textures(view->sway_view); +} + static void handle_scale(struct wl_listener *listener, void *data) { struct sway_output *output = wl_container_of(listener, output, scale); arrange_layers(output); arrange_output(output->swayc); + container_descendants(output->swayc, C_VIEW, handle_scale_iterator, NULL); } void handle_new_output(struct wl_listener *listener, void *data) {