From 5520ed1950cf95c191f26c19cd5f74f2e5403d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 21 May 2026 13:55:15 +0200 Subject: [PATCH] fset: remove error displayed in core buffer when clicking with the mouse below the last option displayed --- CHANGELOG.md | 4 ++++ UPGRADING.md | 13 +++++++++++++ src/plugins/fset/fset-mouse.c | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d443e9181..9db20bac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ SPDX-License-Identifier: GPL-3.0-or-later - relay: add option relay.network.unix_socket_permissions ([#2317](https://github.com/weechat/weechat/issues/2317)) +### Fixed + +- fset: remove error displayed in core buffer when clicking with the mouse below the last option displayed + ## Version 4.9.0 (2026-03-29) ### Changed diff --git a/UPGRADING.md b/UPGRADING.md index c11d2434d..cca4f1dc0 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -13,6 +13,19 @@ When upgrading from version X to Y, please read and apply all instructions from For a list of all changes in each version, please see [CHANGELOG.md](CHANGELOG.md). +## Version 4.10.0 + +### Command on mouse click in fset buffer + +The command executed when clicking in the fset buffer has been updated to prevent +errors on the core buffer when the click is done below the last option. + +To reset the key and use the new default command: + +```text +/reset weechat.key_mouse.@chat(fset.fset):button1 +``` + ## Version 4.8.0 ### IRC temporary servers diff --git a/src/plugins/fset/fset-mouse.c b/src/plugins/fset/fset-mouse.c index 0e81d024d..f46300312 100644 --- a/src/plugins/fset/fset-mouse.c +++ b/src/plugins/fset/fset-mouse.c @@ -337,7 +337,7 @@ fset_mouse_init (void) weechat_hashtable_set ( keys, "@chat(" FSET_PLUGIN_NAME "." FSET_BUFFER_NAME "):button1", - "/window ${_window_number};/fset -go ${fset_option_index}"); + "/window ${_window_number};/mute /fset -go ${fset_option_index}"); weechat_hashtable_set ( keys, "@chat(" FSET_PLUGIN_NAME "." FSET_BUFFER_NAME "):button2*",