summaryrefslogtreecommitdiff
path: root/dwm/shift-tools-scratchpads.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm/shift-tools-scratchpads.c')
-rw-r--r--dwm/shift-tools-scratchpads.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dwm/shift-tools-scratchpads.c b/dwm/shift-tools-scratchpads.c
index a8e15d8..d1dc6b5 100644
--- a/dwm/shift-tools-scratchpads.c
+++ b/dwm/shift-tools-scratchpads.c
@@ -160,3 +160,10 @@ shiftswaptags(const Arg *arg)
// uncomment if you also want to "go" (view) the tag where the the clients are going
//view(&shifted);
}
+void
+tagandview(const Arg *arg)
+{
+ tag(arg);
+ view(arg);
+}
+