about summary refs log tree commit diff
path: root/dwmc
diff options
context:
space:
mode:
Diffstat (limited to 'dwmc')
-rwxr-xr-xdwmc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmc b/dwmc
index d450ca9..7182dc4 100755
--- a/dwmc
+++ b/dwmc
@@ -19,7 +19,7 @@ case $# in
 2)
 	case $1 in
 	view)
-        signal $1 ui $(expr $2 - 1)
+        signal $1 ui $2
 		;;
 	viewex | toggleviewex | tagex | toggletagex | setlayoutex | focusstack | movestack | cyclelayout | incnmaster | focusmon | tagmon)
         signal $1 i $2