projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
addbf69
)
subtract 1 from the given desktop number
author
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 13:35:32 +0000
(13:35 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 13:35:32 +0000
(13:35 +0000)
plugins/keyboard/keysrc.yacc
patch
|
blob
|
history
diff --git
a/plugins/keyboard/keysrc.yacc
b/plugins/keyboard/keysrc.yacc
index
d779da8
..
c1f977e
100644
(file)
--- 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 ||