mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
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
This commit is contained in:
parent
b7bcaa8b02
commit
3cef5fd622
1 changed files with 0 additions and 3 deletions
|
|
@ -47,15 +47,12 @@ lab_wlr_scene_output_commit(struct wlr_scene_output *scene_output)
|
||||||
struct wlr_output_state *state = &wlr_output->pending;
|
struct wlr_output_state *state = &wlr_output->pending;
|
||||||
struct output *output = wlr_output->data;
|
struct output *output = wlr_output->data;
|
||||||
bool wants_magnification = output_wants_magnification(output);
|
bool wants_magnification = output_wants_magnification(output);
|
||||||
static bool last_mag = false;
|
|
||||||
|
|
||||||
if (!wlr_output->needs_frame && !pixman_region32_not_empty(
|
if (!wlr_output->needs_frame && !pixman_region32_not_empty(
|
||||||
&scene_output->damage_ring.current)) {
|
&scene_output->damage_ring.current)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
last_mag = is_magnify_on();
|
|
||||||
|
|
||||||
if (!wlr_scene_output_build_state(scene_output, state, NULL)) {
|
if (!wlr_scene_output_build_state(scene_output, state, NULL)) {
|
||||||
wlr_log(WLR_ERROR, "Failed to build output state for %s",
|
wlr_log(WLR_ERROR, "Failed to build output state for %s",
|
||||||
wlr_output->name);
|
wlr_output->name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue