diff options
author | portix <none@none> | 2012-06-02 16:55:27 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-02 16:55:27 +0200 |
commit | 0986e19cc0db22c1da2d54875592e0eb442f99a9 (patch) | |
tree | cfc255b1620326d2016f290d24e8214afed669b9 /src | |
parent | 3d222acf624f0c840ed2286e96a99c91b651fa09 (diff) | |
download | dwb-0986e19cc0db22c1da2d54875592e0eb442f99a9.zip |
Execute binded javascript functions with POST_SM
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts.c b/src/scripts.c index fa1c68d4..5e115592 100644 --- a/src/scripts.c +++ b/src/scripts.c @@ -520,7 +520,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, ALWAYS_SM, { .p = func, .ro = true }, EP_NONE, {NULL} }; + FunctionMap fm = { { NULL, NULL }, CP_DONT_SAVE, (Func)scripts_eval_key, NULL, POST_SM, { .p = func, .ro = true }, EP_NONE, {NULL} }; *fmap = fm; map->map = fmap; dwb.keymap = g_list_prepend(dwb.keymap, map); |