setmfact is removed

This commit is contained in:
DarthMooMancer
2025-10-10 10:31:33 -04:00
parent 6436f5e824
commit 3bba246bb5
-16
View File
@@ -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)
{