From 3bba246bb5d593f45ffffc3c7bb8ad925d1d755b Mon Sep 17 00:00:00 2001 From: DarthMooMancer Date: Fri, 10 Oct 2025 10:31:33 -0400 Subject: [PATCH] setmfact is removed --- .config/suckless/dwm/dwm.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.config/suckless/dwm/dwm.c b/.config/suckless/dwm/dwm.c index d88596f..fff25a4 100644 --- a/.config/suckless/dwm/dwm.c +++ b/.config/suckless/dwm/dwm.c @@ -160,7 +160,6 @@ static int sendevent(Client *c, Atom proto); static void setclientstate(Client *c, long state); static void setfocus(Client *c); static void setfullscreen(Client *c, int fullscreen); -static void setmfact(const Arg *arg); static void setup(void); static void seturgent(Client *c, int urg); static void showhide(Client *c); @@ -1174,21 +1173,6 @@ setfullscreen(Client *c, int fullscreen) } } -/* arg > 1.0 will set mfact absolutely */ -void -setmfact(const Arg *arg) -{ - float f; - - if (!arg || !selmon->lt[selmon->sellt]->arrange) - return; - f = arg->f < 1.0 ? arg->f + selmon->mfact : arg->f - 1.0; - if (f < 0.05 || f > 0.95) - return; - selmon->mfact = f; - arrange(selmon); -} - void setup(void) {