aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.h3
1 files changed, 2 insertions, 1 deletions
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));
}