buflist: fix long mouse gestures

v2.8-utf8proc
Sébastien Helleu 2017-06-01 07:21:10 +02:00
parent 8a25ac7875
commit d320b72d89
2 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@ Improvements::
Bug fixes::
* buflist: fix long mouse gestures
* buflist: fix slow switch of buffer when there are a lot of buffers opened (issue #998)
* buflist: add option "bar" in command /buflist, do not automatically add the "buflist" bar when the option buflist.look.enabled is off (issue #994)
* buflist: fix crash on drag & drop of buffers

View File

@ -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,