subtract 1 from the given desktop number

This commit is contained in:
Dana Jansens 2003-03-26 13:35:32 +00:00
parent addbf69108
commit bb103dc006

View file

@ -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 ||