summaryrefslogtreecommitdiffstats
path: root/dwl.c
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-03-02 00:03:03 +0100
committerJoe <rbo@gmx.us>2025-03-02 00:03:03 +0100
commitf8df8450d2308b82144c62dae5a2a8a929239466 (patch)
tree647d03f4bebdd12f8f8b53e6eb99db93b3339301 /dwl.c
parentzoomswapped (diff)
downloaddwl-f8df8450d2308b82144c62dae5a2a8a929239466.tar.gz
dwl-f8df8450d2308b82144c62dae5a2a8a929239466.tar.bz2
dwl-f8df8450d2308b82144c62dae5a2a8a929239466.tar.xz
dwl-f8df8450d2308b82144c62dae5a2a8a929239466.tar.zst
dwl-f8df8450d2308b82144c62dae5a2a8a929239466.zip
fix
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 4474559..5b7b671 100644
--- a/dwl.c
+++ b/dwl.c
@@ -394,6 +394,7 @@ static void startdrag(struct wl_listener *listener, void *data);
static int statusin(int fd, unsigned int mask, void *data);
static void tag(const Arg *arg);
static void tagmon(const Arg *arg);
+static void tagandfocusmon(const Arg *arg);
static void tile(Monitor *m);
static void togglebar(const Arg *arg);
static void togglefloating(const Arg *arg);
@@ -3196,6 +3197,13 @@ tagmon(const Arg *arg)
}
void
+tagandfocusmon(const Arg *arg)
+{
+ tagmon(arg);
+ focusmon(arg);
+}
+
+void
tile(Monitor *m)
{
unsigned int mw, my, ty;