diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-12-19 09:00:59 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-12-19 09:00:59 +0100 |
commit | 0faf58a287999ab876462ddb104a59acd3d9edb1 (patch) | |
tree | 2ba80d2b841be8d60bb304c5038de44437d15ae8 /src/gui/curses | |
parent | 491e31ff55c8e741c8126a9329cf731dfdb5104c (diff) | |
download | weechat-0faf58a287999ab876462ddb104a59acd3d9edb1.zip |
core: fix default mouse buttons actions for script buffer (focus the window before executing action)
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c index fd8b100f8..425ec1e6e 100644 --- a/src/gui/curses/gui-curses-key.c +++ b/src/gui/curses/gui-curses-key.c @@ -259,8 +259,8 @@ gui_key_default_bindings (int context) { /* mouse events on chat area */ BIND("@chat:button1", "/window ${_window_number}"); - BIND("@chat(script.scripts):button1", "/script go ${_chat_line_y}"); - BIND("@chat(script.scripts):button2", "/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}"); + BIND("@chat(script.scripts):button1", "/window ${_window_number};/script go ${_chat_line_y}"); + BIND("@chat(script.scripts):button2", "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}"); BIND("@chat:button1-gesture-left", "/window ${_window_number};/buffer -1"); BIND("@chat:button1-gesture-right", "/window ${_window_number};/buffer +1"); BIND("@chat:button1-gesture-left-long", "/window ${_window_number};/buffer 1"); |