summaryrefslogtreecommitdiff
path: root/plugins/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/keyboard')
-rw-r--r--plugins/keyboard/keysrc.yacc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/keyboard/keysrc.yacc b/plugins/keyboard/keysrc.yacc
index d779da83..c1f977e8 100644
--- a/plugins/keyboard/keysrc.yacc
+++ b/plugins/keyboard/keysrc.yacc
@@ -89,7 +89,7 @@ static void addbinding(GList *keylist, char *action, char *apath, int num)
else
g_free(apath);
if (a->func == action_desktop)
- a->data.desktop.desk = (unsigned) num + 1;
+ a->data.desktop.desk = (unsigned) num - 1;
if (a->func == action_move_relative_horz ||
a->func == action_move_relative_vert ||
a->func == action_resize_relative_horz ||