summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/action.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 6d1e0a64..e16e177a 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -698,6 +698,9 @@ ObAction *action_from_string(char *name, ObUserAction uact)
a = action_new(actionstrings[i].func, uact);
if (actionstrings[i].setup)
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;
}
if (!exist)