From d119ca433caac13b73daeb2894c45b39709414b4 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Fri, 3 May 2024 13:32:20 +0100 Subject: [PATCH] More code style --- src/common/scene-helpers.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/scene-helpers.c b/src/common/scene-helpers.c index 3b18bdfb..9fcd54e1 100644 --- a/src/common/scene-helpers.c +++ b/src/common/scene-helpers.c @@ -42,7 +42,6 @@ lab_wlr_scene_get_prev_node(struct wlr_scene_node *node) return prev; } - static void magnify(struct output *output, struct wlr_buffer *output_buffer, struct wlr_box *damage) { @@ -226,7 +225,8 @@ output_wants_magnification(struct output *output) * Toggles magnification on and off */ -void magnify_toggle (void) +void +magnify_toggle(void) { if (magnify_on) { magnify_on = false; @@ -239,7 +239,8 @@ void magnify_toggle (void) * Increases and decreases magnification scale */ -void magnify_set_scale (enum magnify_dir dir) +void +magnify_set_scale(enum magnify_dir dir) { if (dir == MAGNIFY_INCREASE) { if (magnify_on) {