diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-09 06:07:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-09 06:07:00 +0000 |
| commit | 0f544808b8372a6c8a2cbfae214f2803dd3c6170 (patch) | |
| tree | a468a8645599e40da0333041558b40e617419a22 /openbox | |
| parent | 5e38ae49ce5ceb5b983ee7d486439238a42c8431 (diff) | |
no mouse interactive actions. no bugs.
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 3 |
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) |
