summaryrefslogtreecommitdiffhomepage
path: root/patch/dwmc.c
diff options
context:
space:
mode:
authormatt <[email protected]>2020-06-19 23:18:50 +0200
committermatt <[email protected]>2020-06-19 23:18:50 +0200
commit6aca08966183c9ec6bce8a6f346b48a79b30fc1e (patch)
tree8ebcc31c606fbb6ec54ba8f164a5118ee6c56573 /patch/dwmc.c
parent5e0a9c49f8d4f70616282b50bead1efcbcc20e94 (diff)
downloaddwm-flexipatch-6aca08966183c9ec6bce8a6f346b48a79b30fc1e.tar.gz
dwm-flexipatch-6aca08966183c9ec6bce8a6f346b48a79b30fc1e.zip
Adding tagothermonitor patch
Diffstat (limited to 'patch/dwmc.c')
-rw-r--r--patch/dwmc.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/patch/dwmc.c b/patch/dwmc.c
index 8b62cda..5b1c5e4 100644
--- a/patch/dwmc.c
+++ b/patch/dwmc.c
@@ -40,6 +40,20 @@ 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)
{
@@ -81,4 +95,4 @@ fake_signal(void)
// No fake signal was sent, so proceed with update
return 0;
-} \ No newline at end of file
+}