From 0f544808b8372a6c8a2cbfae214f2803dd3c6170 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 9 Sep 2003 06:07:00 +0000 Subject: [PATCH] no mouse interactive actions. no bugs. --- openbox/action.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.45.2