aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/dwm.c b/dwm.c
index ede7ce4..c246d93 100644
--- a/dwm.c
+++ b/dwm.c
@@ -129,7 +129,6 @@ struct Monitor {
unsigned int seltags;
unsigned int sellt;
unsigned int tagset[2];
- int rmaster;
int showbar;
int topbar;
Client *clients;
@@ -224,7 +223,6 @@ static void tagtoleft(const Arg *arg);
static void tagtoright(const Arg *arg);
static void togglebar(const Arg *arg);
static void togglefloating(const Arg *arg);
-static void togglermaster(const Arg *arg);
static void toggletag(const Arg *arg);
static void toggleview(const Arg *arg);
static void unfocus(Client *c, int setfocus);
@@ -666,7 +664,6 @@ createmon(void)
m->tagset[0] = m->tagset[1] = 1;
m->mfact = mfact;
m->nmaster = nmaster;
- m->rmaster = rmaster;
m->showbar = showbar;
m->topbar = topbar;
m->gappih = gappih;
@@ -1973,16 +1970,6 @@ togglefloating(const Arg *arg)
}
void
-togglermaster(const Arg *arg)
-{
- selmon->rmaster = !selmon->rmaster;
- /* now mfact represents the left factor */
- selmon->mfact = 1.0 - selmon->mfact;
- if (selmon->lt[selmon->sellt]->arrange)
- arrange(selmon);
-}
-
-void
toggletag(const Arg *arg)
{
unsigned int newtags;