Tidy following tagothermonitor merge

This commit is contained in:
bakkeby
2020-06-21 09:07:51 +02:00
parent f27195491c
commit 62cca4897b
6 changed files with 60 additions and 29 deletions

View File

@@ -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)
{

View File

@@ -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);

View File

@@ -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)
{

View File

@@ -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);