diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/curses/gui-curses-mouse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-mouse.c b/src/gui/curses/gui-curses-mouse.c index 93d7fd125..c62c728a5 100644 --- a/src/gui/curses/gui-curses-mouse.c +++ b/src/gui/curses/gui-curses-mouse.c @@ -89,6 +89,9 @@ gui_mouse_enable () { gui_mouse_enabled = 1; fprintf (stderr, "\033[?1005h\033[?1000h\033[?1002h"); + + (void) hook_signal_send ("mouse_enabled", + WEECHAT_HOOK_SIGNAL_STRING, NULL); } /* @@ -100,6 +103,9 @@ gui_mouse_disable () { gui_mouse_enabled = 0; fprintf (stderr, "\033[?1002l\033[?1000l\033[?1005l"); + + (void) hook_signal_send ("mouse_disabled", + WEECHAT_HOOK_SIGNAL_STRING, NULL); } /* |