summaryrefslogtreecommitdiff
path: root/src/scripts.c
diff options
context:
space:
mode:
authorportix <none@none>2012-05-05 17:15:20 +0200
committerportix <none@none>2012-05-05 17:15:20 +0200
commit23db436d0ca4fefb57a51d00e43db9fc801ecf38 (patch)
treee3038df2f1b89bc027bb53490b7d3388feb390f1 /src/scripts.c
parent705fe892a3866484d1e7f36f2b920bce8f99a177 (diff)
downloaddwb-23db436d0ca4fefb57a51d00e43db9fc801ecf38.zip
Clear message for shortcuts mapped with io_bind
--HG-- branch : scripts
Diffstat (limited to 'src/scripts.c')
-rw-r--r--src/scripts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts.c b/src/scripts.c
index ea998e09..9877ebf9 100644
--- a/src/scripts.c
+++ b/src/scripts.c
@@ -574,7 +574,7 @@ global_bind(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size
Key key = dwb_str_to_key(keystr);
map->key = key.str;
map->mod = key.mod;
- FunctionMap fm = { { NULL, NULL }, CP_DONT_SAVE, (Func)scripts_eval_key, NULL, POST_SM, { .p = func, .ro = true } };
+ FunctionMap fm = { { NULL, NULL }, CP_DONT_SAVE, (Func)scripts_eval_key, NULL, ALWAYS_SM, { .p = func, .ro = true } };
*fmap = fm;
map->map = fmap;
dwb.keymap = g_list_prepend(dwb.keymap, map);