magnifier: rename some functions

This commit is contained in:
tokyo4j 2025-02-22 15:21:32 +09:00
parent cfbe54e67a
commit b66c0d8797
5 changed files with 16 additions and 16 deletions

View file

@ -114,8 +114,8 @@ lab_wlr_scene_output_commit(struct wlr_scene_output *scene_output,
}
struct wlr_box additional_damage = {0};
if (state->buffer && is_magnify_on()) {
magnify(output, state->buffer, &additional_damage);
if (state->buffer && magnifier_is_enabled()) {
magnifier_draw(output, state->buffer, &additional_damage);
}
bool committed = wlr_output_commit_state(wlr_output, state);