From 3cef5fd622d9d5af83d2bbf2bfca53cf3468d7d0 Mon Sep 17 00:00:00 2001 From: Droc Date: Mon, 20 May 2024 05:53:51 -0500 Subject: [PATCH] mag-fix=scene-helper removed last_mag, as it wasnt't necessary with the changes and it was triggering of a warning treated as error --- src/common/scene-helpers.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/scene-helpers.c b/src/common/scene-helpers.c index 0239aa18..0af946a2 100644 --- a/src/common/scene-helpers.c +++ b/src/common/scene-helpers.c @@ -47,15 +47,12 @@ lab_wlr_scene_output_commit(struct wlr_scene_output *scene_output) struct wlr_output_state *state = &wlr_output->pending; struct output *output = wlr_output->data; bool wants_magnification = output_wants_magnification(output); - static bool last_mag = false; if (!wlr_output->needs_frame && !pixman_region32_not_empty( &scene_output->damage_ring.current)) { return false; } - last_mag = is_magnify_on(); - if (!wlr_scene_output_build_state(scene_output, state, NULL)) { wlr_log(WLR_ERROR, "Failed to build output state for %s", wlr_output->name);