summaryrefslogtreecommitdiff
path: root/src/plugins/buflist
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-06-01 07:21:10 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-01 07:21:10 +0200
commitd320b72d8981380110936a066bd3df6bfe3d3e88 (patch)
tree1e0c1feb7d53e277cfa2867fd70e1c5e674a01d2 /src/plugins/buflist
parent8a25ac78753d1323501093d5b11568f935332e4d (diff)
downloadweechat-d320b72d8981380110936a066bd3df6bfe3d3e88.zip
buflist: fix long mouse gestures
Diffstat (limited to 'src/plugins/buflist')
-rw-r--r--src/plugins/buflist/buflist-mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/buflist/buflist-mouse.c b/src/plugins/buflist/buflist-mouse.c
index f74b7dc6c..c574edb59 100644
--- a/src/plugins/buflist/buflist-mouse.c
+++ b/src/plugins/buflist/buflist-mouse.c
@@ -186,8 +186,8 @@ buflist_mouse_move_buffer (const char *key, struct t_gui_buffer *buffer,
* then set it according to mouse gesture
*/
number2 = 1;
- if (weechat_string_match (key, "*gesture-right", 1)
- || weechat_string_match (key, "*gesture-down", 1))
+ if (weechat_string_match (key, "*gesture-right*", 1)
+ || weechat_string_match (key, "*gesture-down*", 1))
{
number2 = 999999;
ptr_last_gui_buffer = weechat_hdata_get_list (buflist_hdata_buffer,