summaryrefslogtreecommitdiff
path: root/plugins/keyboard
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-26 13:35:32 +0000
committerDana Jansens <danakj@orodu.net>2003-03-26 13:35:32 +0000
commitbb103dc006a35e81fdfee803196e4b0a9cc832e8 (patch)
tree6ce38f508fc896fc400cb65d96b5c15cb3f79e74 /plugins/keyboard
parentaddbf69108c42e9c6bf93df8da36c96765cf5ca1 (diff)
subtract 1 from the given desktop number
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 ||