Mercurial > hg
changeset 1564:4b6cfaa6898b
Merge main and crew
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 16 Jan 2009 22:35:21 +0100 |
parents | 248da27faff3 (current diff) c1d0f906d379 (diff) |
children | bff9633e38ee d8a016f76ff7 |
files | |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/mcabberrc.example Fri Jan 16 22:26:51 2009 +0100 +++ b/mcabber/mcabberrc.example Fri Jan 16 22:35:21 2009 +0100 @@ -468,6 +468,9 @@ #alias names = room names #alias topic = room topic +# Set use_mouse to 1 to map mouse buttons like keycodes. +#set use_mouse = 1 + # Key bindings # Ctlr-q (17) bound to /roster unread_next bind 17 = roster unread_next
--- a/mcabber/src/screen.c Fri Jan 16 22:26:51 2009 +0100 +++ b/mcabber/src/screen.c Fri Jan 16 22:35:21 2009 +0100 @@ -734,7 +734,8 @@ start_color(); use_default_colors(); #ifdef NCURSES_MOUSE_VERSION - mousemask(ALL_MOUSE_EVENTS, NULL); + if (settings_opt_get_int("use_mouse")) + mousemask(ALL_MOUSE_EVENTS, NULL); #endif if (settings_opt_get("escdelay")) {