From 2cb90c25b8b3e51858ed40d43fc8faf2e22d7aad Mon Sep 17 00:00:00 2001 From: Joseph <119084558+DerjenigeUberMensch@users.noreply.github.com> Date: Sat, 6 Jul 2024 01:24:21 +0000 Subject: [PATCH] Add files via upload --- desktop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop.c b/desktop.c index ac80c67..3a2e876 100644 --- a/desktop.c +++ b/desktop.c @@ -260,7 +260,7 @@ floating(Desktop *desk) void grid(Desktop *desk) { - const float bgwr = USGetGapRatio(&_cfg); + const float bgwr = _cfg.gapratio; i32 n, cols, rows, cn, rn, i, cx, cy, cw, ch; i32 nx, ny; @@ -489,9 +489,9 @@ stackpriority(Client *c1, Client *c2) void tile(Desktop *desk) { - const u16 nmaster = USGetMCount(&_cfg); - const float mfact = USGetMFact(&_cfg); - const float bgwr = USGetGapRatio(&_cfg); + const u16 nmaster = _cfg.mcount; + const float mfact = _cfg.mfact; + const float bgwr = _cfg.gapratio; i32 h, mw, my, ty; i32 n, i;