weechat: Enable mouse by default

This commit is contained in:
Fredrik Fornwall 2015-08-12 01:28:36 -04:00
parent 0f6115d01f
commit 2bbb49a63f
2 changed files with 15 additions and 1 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://weechat.org/
TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client"
TERMUX_PKG_VERSION=1.2
TERMUX_PKG_BUILD_REVISION=3
TERMUX_PKG_BUILD_REVISION=4
TERMUX_PKG_SRCURL=http://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support"
# weechat-curses is a symlink to weechat, so remove it:

View File

@ -0,0 +1,14 @@
Enable mouse support by default.
diff -u -r ../weechat-1.2/src/core/wee-config.c ./src/core/wee-config.c
--- ../weechat-1.2/src/core/wee-config.c 2015-05-10 03:24:50.000000000 -0400
+++ ./src/core/wee-config.c 2015-08-12 00:20:55.006420493 -0400
@@ -2619,7 +2619,7 @@
weechat_config_file, ptr_section,
"mouse", "boolean",
N_("enable mouse support"),
- NULL, 0, 0, "off", NULL, 0, NULL, NULL, &config_change_mouse, NULL, NULL, NULL);
+ NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_mouse, NULL, NULL, NULL);
config_look_mouse_timer_delay = config_file_new_option (
weechat_config_file, ptr_section,
"mouse_timer_delay", "integer",