1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

buflist: fix long mouse gestures

This commit is contained in:
Sébastien Helleu
2017-06-01 07:21:10 +02:00
parent 8a25ac7875
commit d320b72d89
2 changed files with 3 additions and 2 deletions
+2 -2
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,