From: Dana Jansens Date: Wed, 26 Mar 2003 13:35:32 +0000 (+0000) Subject: subtract 1 from the given desktop number X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=bb103dc006a35e81fdfee803196e4b0a9cc832e8;p=chaz%2Fopenbox subtract 1 from the given desktop number --- 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 ||