subtract 1 from the given desktop number
This commit is contained in:
parent
addbf69108
commit
bb103dc006
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ static void addbinding(GList *keylist, char *action, char *apath, int num)
|
||||||
else
|
else
|
||||||
g_free(apath);
|
g_free(apath);
|
||||||
if (a->func == action_desktop)
|
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 ||
|
if (a->func == action_move_relative_horz ||
|
||||||
a->func == action_move_relative_vert ||
|
a->func == action_move_relative_vert ||
|
||||||
a->func == action_resize_relative_horz ||
|
a->func == action_resize_relative_horz ||
|
||||||
|
|
Loading…
Reference in a new issue