use the number for sendtodesktop

This commit is contained in:
Dana Jansens 2003-03-29 20:59:41 +00:00
parent b6b514c477
commit 8a6a9710eb

View file

@ -88,7 +88,7 @@ static void addbinding(GList *keylist, char *action, char *apath, int num)
a->data.execute.path = apath; a->data.execute.path = apath;
else else
g_free(apath); g_free(apath);
if (a->func == action_desktop) if (a->func == action_desktop || a->func == action_send_to_desktop)
a->data.desktop.desk = (unsigned) num - 1; a->data.desktop.desk = (unsigned) num - 1;
if (a->func == action_move_relative_horz || if (a->func == action_move_relative_horz ||
a->func == action_move_relative_vert || a->func == action_move_relative_vert ||