--
Best Regards,
Tom Schwindl
diff --git a/dwm.c b/dwm.c
index 03baf42b3502..4fa8253c91e0 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -234,6 +234,7 @@ static int xerror(Display *dpy, XErrorEvent *ee);
static int xerrordummy(Display *dpy, XErrorEvent *ee);
static int xerrorstart(Display *dpy, XErrorEvent *ee);
static void zoom(const Arg *arg);
+static void dumpmon(void);
/* variables */
static const char broken[] = "broken";
_AT_@ -276,6 +277,13 @@ static Window root, wmcheckwin;
struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };
/* function implementations */
+static void
+dumpmon(void)
+{
+ if (selmon)
+ fprintf(stdout, "%d\n", selmon->num);
+}
+
void
applyrules(Client *c)
{
Received on Sun Jan 08 2023 - 14:00:51 CET
This archive was generated by hypermail 2.3.0 : Sun Jan 08 2023 - 14:12:08 CET