From: Dana Jansens Date: Tue, 9 Sep 2003 06:07:00 +0000 (+0000) Subject: no mouse interactive actions. no bugs. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0f544808b8372a6c8a2cbfae214f2803dd3c6170;p=chaz%2Fopenbox no mouse interactive actions. no bugs. --- 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)