From 9c05b9622c7aa3a0874c49231249cf1859e2d031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Fri, 30 Aug 2024 18:19:18 -0600 Subject: [PATCH] fix style for client_set_scale() --- client.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.h b/client.h index 9c2cff3..dabea35 100644 --- a/client.h +++ b/client.h @@ -332,7 +332,8 @@ client_set_fullscreen(Client *c, int fullscreen) } static inline void -client_set_scale(struct wlr_surface *s, float scale) { +client_set_scale(struct wlr_surface *s, float scale) +{ wlr_fractional_scale_v1_notify_scale(s, scale); wlr_surface_set_preferred_buffer_scale(s, (int32_t)ceilf(scale)); }