summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2026-01-11 13:44:25 +0100
committerNaz <ndpm13@ch-naseem.com>2026-01-11 20:44:33 +0100
commit3b2ab3df0884b6f8c28db72b78bf122119934e07 (patch)
tree71a5ad8120868406b49e1cf8b2c96e03382da4e7 /dwm.c
parentf32a39bd3e572fffa48ee9d99eede8ea9bd34705 (diff)
fix: remove unused functions6.6-custom.2
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c79
1 files changed, 0 insertions, 79 deletions
diff --git a/dwm.c b/dwm.c
index fc88ced..dd1c529 100644
--- a/dwm.c
+++ b/dwm.c
@@ -220,7 +220,6 @@ static Client *prevtiled(Client *c);
static void propertynotify(XEvent *e);
static void pushdown(const Arg *arg);
static void pushup(const Arg *arg);
-static void quit(const Arg *arg);
static Monitor *recttomon(int x, int y, int w, int h);
static void resize(Client *c, int x, int y, int w, int h, int bw, int interact);
static void resizeclient(Client *c, int x, int y, int w, int h, int bw);
@@ -235,13 +234,7 @@ static void setclientstate(Client *c, long state);
static void setfocus(Client *c);
static void setfullscreen(Client *c, int fullscreen);
static void setgaps(int oh, int ov, int ih, int iv);
-static void incrgaps(const Arg *arg);
-static void incrigaps(const Arg *arg);
static void incrogaps(const Arg *arg);
-static void incrohgaps(const Arg *arg);
-static void incrovgaps(const Arg *arg);
-static void incrihgaps(const Arg *arg);
-static void incrivgaps(const Arg *arg);
static void togglegaps(const Arg *arg);
static void defaultgaps(const Arg *arg);
static void setlayout(const Arg *arg);
@@ -1549,12 +1542,6 @@ pushup(const Arg *arg) {
arrange(selmon);
}
-void
-quit(const Arg *arg)
-{
- running = 0;
-}
-
Monitor *
recttomon(int x, int y, int w, int h)
{
@@ -1906,28 +1893,6 @@ defaultgaps(const Arg *arg)
}
void
-incrgaps(const Arg *arg)
-{
- setgaps(
- selmon->gappoh + arg->i,
- selmon->gappov + arg->i,
- selmon->gappih + arg->i,
- selmon->gappiv + arg->i
- );
-}
-
-void
-incrigaps(const Arg *arg)
-{
- setgaps(
- selmon->gappoh,
- selmon->gappov,
- selmon->gappih + arg->i,
- selmon->gappiv + arg->i
- );
-}
-
-void
incrogaps(const Arg *arg)
{
setgaps(
@@ -1939,50 +1904,6 @@ incrogaps(const Arg *arg)
}
void
-incrohgaps(const Arg *arg)
-{
- setgaps(
- selmon->gappoh + arg->i,
- selmon->gappov,
- selmon->gappih,
- selmon->gappiv
- );
-}
-
-void
-incrovgaps(const Arg *arg)
-{
- setgaps(
- selmon->gappoh,
- selmon->gappov + arg->i,
- selmon->gappih,
- selmon->gappiv
- );
-}
-
-void
-incrihgaps(const Arg *arg)
-{
- setgaps(
- selmon->gappoh,
- selmon->gappov,
- selmon->gappih + arg->i,
- selmon->gappiv
- );
-}
-
-void
-incrivgaps(const Arg *arg)
-{
- setgaps(
- selmon->gappoh,
- selmon->gappov,
- selmon->gappih,
- selmon->gappiv + arg->i
- );
-}
-
-void
setlayout(const Arg *arg)
{
if (!arg || !arg->v || arg->v != selmon->lt[selmon->sellt]) {