Tidy following tagothermonitor merge
This commit is contained in:
14
patch/dwmc.c
14
patch/dwmc.c
@@ -40,20 +40,6 @@ tagallex(const Arg *arg)
|
||||
tag(&((Arg){.ui = ~0}));
|
||||
}
|
||||
|
||||
#if TAGOTHERMONITOR_PATCH
|
||||
void
|
||||
tagnextmonex(const Arg *arg)
|
||||
{
|
||||
tagnextmon(&((Arg) { .ui = 1 << arg->ui }));
|
||||
}
|
||||
|
||||
void
|
||||
tagprevmonex(const Arg *arg)
|
||||
{
|
||||
tagprevmon(&((Arg) { .ui = 1 << arg->ui }));
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
fake_signal(void)
|
||||
{
|
||||
|
@@ -10,8 +10,4 @@ static void toggleviewex(const Arg *arg);
|
||||
static void tagex(const Arg *arg);
|
||||
static void toggletagex(const Arg *arg);
|
||||
static void tagallex(const Arg *arg);
|
||||
#if TAGOTHERMONITOR_PATCH
|
||||
static void tagnextmonex(const Arg *arg);
|
||||
static void tagprevmonex(const Arg *arg);
|
||||
#endif
|
||||
static int fake_signal(void);
|
||||
|
@@ -1,3 +1,17 @@
|
||||
#if DWMC_PATCH
|
||||
void
|
||||
tagnextmonex(const Arg *arg)
|
||||
{
|
||||
tagnextmon(&((Arg) { .ui = 1 << arg->ui }));
|
||||
}
|
||||
|
||||
void
|
||||
tagprevmonex(const Arg *arg)
|
||||
{
|
||||
tagprevmon(&((Arg) { .ui = 1 << arg->ui }));
|
||||
}
|
||||
#endif // DWMC_PATCH
|
||||
|
||||
void
|
||||
tagnextmon(const Arg *arg)
|
||||
{
|
||||
|
@@ -1,3 +1,8 @@
|
||||
#if DWMC_PATCH
|
||||
static void tagnextmonex(const Arg *arg);
|
||||
static void tagprevmonex(const Arg *arg);
|
||||
#endif // DWMC_PATCH
|
||||
|
||||
static void tagnextmon(const Arg *arg);
|
||||
static void tagprevmon(const Arg *arg);
|
||||
static void tagothermon(const Arg *arg, int dir);
|
||||
|
Reference in New Issue
Block a user