summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/core/wee-command.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 51caf493e..248f8edb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
-v0.4.3-dev, 2013-10-24
+v0.4.3-dev, 2013-10-26
This document lists all changes for each version.
@@ -14,6 +14,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
Version 0.4.3 (under dev!)
--------------------------
+* core: fix bind of keys in cursor/mouse context when key starts with "@"
+ (remove the warning about unsafe key)
* core: fix truncated prefix when filters are toggled (bug #40204)
* core: add options to customize default text search in buffers:
weechat.look.buffer_search_{case_sensitive|force_default|regex|where}
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index ac90ac4ea..e821f3732 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -3029,7 +3029,7 @@ COMMAND_CALLBACK(key)
/* bind new key */
if (CONFIG_BOOLEAN(config_look_key_bind_safe)
- && !gui_key_is_safe (GUI_KEY_CONTEXT_DEFAULT, argv[3]))
+ && !gui_key_is_safe (context, argv[3]))
{
gui_chat_printf (NULL,
_("%sError: it is not safe to bind key \"%s\" because "