no mouse interactive actions. no bugs.
This commit is contained in:
parent
5e38ae49ce
commit
0f544808b8
1 changed files with 3 additions and 0 deletions
|
@ -698,6 +698,9 @@ ObAction *action_from_string(char *name, ObUserAction uact)
|
||||||
a = action_new(actionstrings[i].func, uact);
|
a = action_new(actionstrings[i].func, uact);
|
||||||
if (actionstrings[i].setup)
|
if (actionstrings[i].setup)
|
||||||
actionstrings[i].setup(&a, uact);
|
actionstrings[i].setup(&a, uact);
|
||||||
|
/* only key bindings can be interactive. thus saith the xor. */
|
||||||
|
if (uact != OB_USER_ACTION_KEYBOARD_KEY)
|
||||||
|
a->data.any.interactive = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!exist)
|
if (!exist)
|
||||||
|
|
Loading…
Reference in a new issue