summaryrefslogtreecommitdiffstats
path: root/dwl.c
diff options
context:
space:
mode:
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;